Hi Hertha, How to find out minor device of a major device (for entry in rawdevices file)

Herta Van den Eynde herta.vandeneynde at gmail.com
Tue May 20 07:24:03 UTC 2008


2008/5/20 sunhux G <sunhux at gmail.com>:
> Hi Hertha,
>
>
> Thanks.
> Noticed that in the rawdevices file, there's column for minor device
> file name.
>
> I heard for each of the /dev/mpath/mpathx, there's actually
> two corresponding
> minor devices (/dev/sd...).
>
> Yes, 2 /dev/sdx  devices are the actual physical path to the SAN while
> /dev/mpath/mpathx is the logical path with redundancy (ie if one physical
> path is down, it will use the other path).
>
> How do I find out the physical paths for a logical path?
>
>
> Tks
> U

Depending on how the SAN is configured you may even have more that 2
physical paths to a logical device.
You should be able to see the mapping using the command 'multipath -ll'.

Kind regards,

Herta

-- 
"Life on Earth may be expensive,
 but it comes with a free ride around the Sun."




More information about the redhat-list mailing list