Obtaining the serial number for disks on LSI RAID cards via CentOS Linux

By Alasdair Lumsden on 17 Nov 2010

This is just a quick reminder for myself basically. To get the serial number of the disks of a CentOS system, you can do:

yum install lsscsi sg3_utils
modprobe sg
/usr/bin/lsscsi -g
smartctl -a /dev/sg0

Unfortunately I couldn’t find a way to see the serial number via lsiutil, however lsiutil is still very useful.