Unsolved
This post is more than 5 years old
10 Posts
0
6532
August 14th, 2014 07:00
decoding VNX Unique id to lun/serial number
Hi Guys,
May be this was asked a million times.
I am not sure how i will convert the Uid seen by my host teammates to serial number.
e.g.
3600601600e7036005f41d9e7ff87e311 is given to me and i need to find VNX serial number and lun id,
can someone please help ??
0 events found
No Events found!


dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
0
August 14th, 2014 07:00
they can't provide you with output from inq ?
dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
0
August 14th, 2014 07:00
fair enough, i am being cautiously optimistic
Rainer_EMC
6 Operator
•
8.6K Posts
0
August 14th, 2014 07:00
They probably dont know what inq is ☺
dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
0
August 14th, 2014 08:00
how often do you gather SPCollects ?
vivekjaiswal003
10 Posts
0
August 14th, 2014 08:00
Well..the reason to ask is, we are able to do it for vmax but i dont see why it cant be decoded.
Ofcourse inq and powerpath can help identifying the disk.
But the question still remain.. is there a way ???
Joshua_Fawcett
35 Posts
0
August 14th, 2014 08:00
If you know which array this LUN resides on you can find this information. It's a bit of a round about way but you can get it. I don't know of any way to identify serial number of the array a LUN resides on from the UID. There may be a way but I don't know it.
If you generate an SP collect there are a number of zip files that make up the SP collect. Extract the *sus.zip file from the *data.zip SP collect file. In that *sus.zip file there is a file called SPx_cfg_info.txt. If you open that file (for either SP) you can use this to find the LUN. You need to take that UID and put a : in between every two numbers. I've taken your UID to demonstrate:
60:06:01:60:0e:70:36:00:5f:41:d9:e7:ff:87:e3:11
Search in that cfg_info file and it should find an entry (if that LUN exists on the array). If you scroll up slightly from where you find that UID it will tell you the LUN name and number.
Here is an example from a lab array here:
LOGICAL UNIT NUMBER 1031
Prefetch size (blocks) = 0
Prefetch multiplier = 0
Segment size (blocks) = 0
Segment multiplier = 0
Maximum prefetch (blocks) = 0
Prefetch Disable Size (blocks) = 0
Prefetch idle count = 0
Prefetching: NO
Prefetched data retained NO
Read cache configured according to
specified parameters.
Name LUN 1031
Minimum latency reads N/A
RAID Type: N/A
RAIDGroup ID: N/A
State: Bound
Stripe Crossing: 0
Element Size: 0
Current owner: SP A
Offset: N/A
Auto-trespass: DISABLED
Auto-assign: DISABLED
Write cache: ENABLED
Read cache: ENABLED
Idle Threshold: 0
Idle Delay Time: 0
Write Aside Size: 0
Default Owner: SP A
Rebuild Priority: N/A
Verify Priority: N/A
Prct Reads Forced Flushed: 0
Prct Writes Forced Flushed: 0
Prct Rebuilt: 100
Prct Bound: 100
LUN Capacity(Megabytes): 819200
LUN Capacity(Blocks): 1677721600
UID: 60:06:01:60:F5:E7:32:00:C3:99:5B:C6:29:0F:E3:11
Is Private: NO
Snapshots List: Not Available
MirrorView Name if any: Not Available
dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
0
August 14th, 2014 08:00
i've seen clariion port decoder (on elabadvisor) but i have not see any decoders for VNX LUNs.
dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
0
August 14th, 2014 09:00
i am just thinking of how practical this approach is for every day operational activities from customer perspective. You would have to gather SPCollects from multiple arrays and parse the output. In busy shops that information is outdated a couple hours into the work day. I would build something that queries LUN WWNs using symdev list or naviseccli on the fly.
Joshua_Fawcett
35 Posts
0
August 14th, 2014 09:00
I agree that would be very handy. I don't have the ability to make those changes myself but can pass that around here.
Joshua_Fawcett
35 Posts
0
August 14th, 2014 09:00
I'm with VNX Support so I don't gather them a lot but I look at them pretty frequently. I wish there were a quicker way to get this same information but I'm not aware of anything like this in Unisphere.
Not a fast or necessarily easy option but the only way I know of to do this.
Anonymous User
375 Posts
0
August 15th, 2014 07:00
Hi Vivek,
You need to look at this from host. There are different commands on different host end. First Identify from which array the LUN is coming & you can then find the rest of the details from Storage end.
Thanks
Rakesh