Welcome to Halil Demirezen's Tips and Tutorials Page
Personal
Home
Contact
Biography
Research

Projects
Tutorials
Celsus Library (TR)

Categories

LinuxNetworkComputer VisionDatabasesProgamming
vmware


DISK: Identifying physical disks of linux disk devices behind RAID controller 2019-07-23 09:09:46

Suppose you would like to identify the physical disks of "sdc and sdd" behind RAID controller.
You have storcli tool.


[root@host by-id]# ls -ltr /dev/disk/by-id/wwn* |grep sdc
lrwxrwxrwx 1 root root 9 Jul 8 12:30 /dev/disk/by-id/wwn-0x600605b00ad11a601e576ca74a8b02b3 -> ../../sdc


[root@host by-id]# ls -ltr /dev/disk/by-id/wwn* |grep sdd
lrwxrwxrwx 1 root root 9 Jul 8 12:30 /dev/disk/by-id/wwn-0x600605b00ad11a60206e1cae571df475 -> ../../sdd




SDC

[root@host by-id]# /home/halil/storcli64 /c0/v2 show all | grep SCSI
SCSI NAA Id = 600605b00ad11a601e576ca74a8b02b3

[root@host by-id]# /home/halil/storcli64 /c0/v2 show all | grep Onln
252:4 7 Onln 2 371.597 GB SATA SSD N N 512B SSDSC2BA400G3I 00AJ162 00AJ165IBM U
252:5 8 Onln 2 371.597 GB SATA SSD N N 512B SSDSC2BA400G3I 00AJ162 00AJ165IBM U


SDD

[root@host by-id]# /home/halil/storcli64 /c0/v3 show all | grep SCSI
SCSI NAA Id = 600605b00ad11a60206e1cae571df475

[root@host by-id]# /home/halil/storcli64 /c0/v3 show all | grep Onln
252:6 9 Onln 3 744.125 GB SAS SSD N Y 512B HUSMM1680ASS20 U
252:7 10 Onln 3 744.125 GB SAS SSD N Y 512B HUSMM1680ASS20 U