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

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

Yes,
You will provide them the LUN ID no

LUN 0x8100000000000000

They should be able to fetch the LUN using that ID.

1 Like

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

1 Like

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!!!

We use "inq utility" to identify LUN IDs.

# ./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.