Identify disk on a SAS6iR controller
Barnaby Gray
barnaby at artirix.com
Wed Sep 29 12:50:33 CDT 2010
On 29/09/2010 18:40, Tim Small wrote:
> # modprobe sg
> # lsscsi -g
> [0:0:0:0] disk SEAGATE ST3500620SS MS04 - /dev/sg0
> [0:0:1:0] disk SEAGATE ST3500620SS MS04 - /dev/sg1
> [0:1:0:0] disk Dell VIRTUAL DISK 1028 /dev/sda /dev/sg2
> [1:0:0:0] cd/dvd TSSTcorp DVD+-RW TS-L633A D200 /dev/sr0 /dev/sg3
> # sg_inq /dev/sg0
> [.....]
> Unit serial number: 9QM9A34F
> #
Cheers, worked a treat - for the archives on CentOS the packages are:
yum install lsscsi sg3_utils
In the meantime I'd given up and installed omsa - slight overkill for a
SN! Very useful for future reference.
Interestingly OMSA reports:
Serial No. : WD-WCAS2208118581185
whereas sg_inq:
Unit serial number: WD-WCAS22081185
So the OMSA output is a slightly garbled.
Barnaby
More information about the Linux-PowerEdge
mailing list