Viewing SCSI device information on Linux hosts


I chatted about the new server I built a few posts back, and wanted a quick way to view the SATA devices in the system. While the dmesg and /proc data can be used to locate this information, I always find the lsscsi utility to be a bit more useful:

$ lsscsi

[0:0:0:0] disk ATA HITACHI HDS7225S V44O /dev/sda
[1:0:0:0] cd/dvd TSSTcorp CDDVDW SH-S223Q SB03 /dev/scd0

In addition to displaying the device ID, it also provides the vendor string and the device that corresponds to each device ID. Useful utility, and it’s one yum install away.

This article was posted by Matty on 2009-04-28 09:37:00 -0400 EDT