Retrieve LUN IDs


 
Thread Tools Search this Thread
Operating Systems AIX Retrieve LUN IDs
# 1  
Old 01-07-2014
Retrieve LUN IDs

Hello,

I decommissioned a server recently but made mistake copying the LUN IDs (when I used the command "lscfg -vl hdisk#" on the VIO Servers) to give to the storage team to reclaim the LUNs. Now I have deleted the backing device, vhost on the VIO and have deleted the LPAR from HMC.

Before deleting everything, I run this command before everything "lsmap -vadapter vhost8", and the output was like this
Code:
SVSA            Physloc                                      Client Partition ID
--------------- -------------------------------------------- ------------------
vhost9          U9117.570.109194F-V1-C19                     0x0000000e

VTD                   s_sappxsdb1_02
Status                Available
LUN                   0x8100000000000000
Backing device        hdisk33
Physloc               U7879.001.DQD2V5C-P1-C2-T1-W50060E8004294254-L1B000000000000

can storage team use that information from the to identify/reclaim the LUNs.

Please, I need help to identify those LUNs.

Thanks,
Paakofi

Last edited by Franklin52; 01-08-2014 at 03:17 AM.. Reason: Please use code tags
# 2  
Old 01-08-2014
Yes,
You will provide them the LUN ID no

LUN 0x8100000000000000

They should be able to fetch the LUN using that ID.
This User Gave Thanks to ibmtech For This Post:
# 3  
Old 01-08-2014
I'd say from the Hitachi storage point of view the LUN ID would be 0x1B on WWPN 50:06:0E:80:04:29:42:54

LUN ID 0x81 is probably what the client sees.

HTH
This User Gave Thanks to dukessd For This Post:
# 4  
Old 01-09-2014
Thanks guys, my storage admin uses a graphical console (tool) to reclaim the LUNs and he told me he can't use the above information. I think he is not too experienced.

Anyways, I had to investigate for all other LUN IDs for all LPARs on that particular VIO, and from that, we could identify the missng LUN IDs for that "decommissioned server" which was formally sitting on that VIO's frame.

Once again, thanks guys...! You gave me hope!!!
# 5  
Old 01-12-2014
INQ

We use "inq utility" to identify LUN IDs.

Code:
# ./inq.aix64_51 -showvol
Inquiry utility, Version V7.3-1506 (Rev 0.0)      (SIL Version V7.4.0.0 (Edit Level 1506)
Copyright (c) [1997-2012] EMC Corporation. All Rights Reserved.
For help type inq -h.

.............

---------------------------------------------------------------------------------
DEVICE        :VEND    :PROD            :REV   :SER NUM    :Volume  :CAP(kb)
---------------------------------------------------------------------------------
/dev/rhdisk0  :AIX     :VDASD           :      :hdisk2     :   00000:    71687000
/dev/rhdisk1  :AIX     :VDASD           :      :hdisk3     :   00000:    71687000

For EMC Storage you can use "powermt display dev=all" if powerpath is installed.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

List of all ids,groups, privilege ids

I wish to pull out a list of all user ids on the system, including the privileged ids, the groups to which they belong to. Sometimes after deleting an id also, its home dir does not get deleted or an entry is left behind in /etc/passwd. Can someone help me with a script to achieve both. (2 Replies)
Discussion started by: ggayathri
2 Replies

2. Shell Programming and Scripting

Match ids

Hello, I have two files File 1 with 10 columns rsid position ........ xx 1:10000 File 2 position 1:10000 2:2000 .... I need to extract the IDs given in file 2(column1) from file 1 (column2) and print all columns from file1. I am trying this command (1 Reply)
Discussion started by: nans
1 Replies

3. Shell Programming and Scripting

common ids

I have file1.txt I have file2.txt and I want to extract all the rows in file1.txt that have the same idsas file2.txt in the 3rd column in the file1.txt. so the output willl be I have tried sort ${data}/13.txt > ${data}/13 sort -k3,3 ${data}/333.txt > ${data}/333 awk... (4 Replies)
Discussion started by: johnkim0806
4 Replies

4. AIX

Multiple IDs

Hello Guys, We've around 20 machines & I've root access for all of them. Also, we have around 4 different ID's in these machines. I have to change the passwords every month, I was wondering is there a way to change the password for multiple IDs at one shot? Thanks, (1 Reply)
Discussion started by: AbhijithS
1 Replies

5. Solaris

I have LUN ID, how to find disk relate to that LUN ID?

I have a list of LUN ID, my task is to find if disk has been added or not. How do I do that? I have been searching the forum and not able to find answer. thanks (4 Replies)
Discussion started by: uuontario
4 Replies

6. Cybersecurity

Bayesian IDS

Hi there, I am working on Anomaly based Network IDS... Statistical based technique is simple but not quite effective in real scenario... I understand Bayesian classifier/Network is more effective in the context of anomaly detection, but i have very little idea about Bayesian approach for... (0 Replies)
Discussion started by: Dinakara
0 Replies

7. Shell Programming and Scripting

Migrating IDs

I need a script that will move files and change the ownership from a user's old home directory to a new home directory on multiple NIS+ servers. (0 Replies)
Discussion started by: mackdaddy07
0 Replies

8. UNIX for Dummies Questions & Answers

can't su to any IDs

hello friends, i had this problem couldn't figure out. Every time i tried to su to an id by this command. it gave all killed command after that. Can't use it at all. ( OS Irix ). Any help greatly appreciated. ========= server 23# su - hbl3121 Killed Killed Killed Killed Killed Killed... (2 Replies)
Discussion started by: anphdula
2 Replies

9. UNIX for Dummies Questions & Answers

Ids

What's the relationship beteew IDS and informix ? (1 Reply)
Discussion started by: wuhuatao
1 Replies
Login or Register to Ask a Question