Follow

How to determine the drive mapping at the OS layer

Subject:

Determine the mapping between the virtual drives and physical disks at the OS layer.

 

Details:

You can run the below command that will give you the PCI path listing for the device and what sd* device it maps to.
# ls -la /dev/disk/by-path/ | grep -v part | grep sd

Example:
root@mx02pdy03ci00fm:~# ls -la /dev/disk/by-path/ | grep -v part | grep sd
lrwxrwxrwx 1 root root 9 Nov 10 12:28 pci-0000:43:00.0-scsi-0:2:0:0 -> ../../sda
lrwxrwxrwx 1 root root 9 Nov 10 12:28 pci-0000:43:00.0-scsi-0:2:1:0 -> ../../sdb
lrwxrwxrwx 1 root root 9 Nov 10 12:28 pci-0000:43:00.0-scsi-0:2:2:0 -> ../../sdc

This shows that sda uses Virtual Drive/Unit 0:0 , sdb uses 0:1 and sdc, 0:2

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk