1833770 Members
2230 Online
110063 Solutions
New Discussion

Re: Question about LUNS

 
Dave Greenhow
Occasional Advisor

Question about LUNS

Is there a way to work out a LUN from within the hardware path?

I dont think there is, but could someone clarify

Cheers

Dave
2 REPLIES 2
RAC_1
Honored Contributor

Re: Question about LUNS

From hardware path, at most you can check which disk it is. Then you can do pvdisplay on the disk to know which lvols reside on that disk.

Anil
There is no substitute to HARDWORK
Simon Hargrave
Honored Contributor

Re: Question about LUNS

Given a hardware path eg: -

0/3/0/0.8.0.21.0.1.2

The LUN number can be calculated from the last three digits with the formula: -

0*128 + 1*8 + 2

= 10

The LUN ID for this path is 10.