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:
[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.