Question: I have a Linux box with five disk drives, one of which I want to replace. ?The offending drive is /dev/sdc, but that doesn’t tell me how to distinguish the hardware. ?The drive is SATA and the assignment of drives to devices sometimes changes after a boot.

I’d like to be able to use the model names printed on the disk. ?I know these names are machine-readable because they are the names the BIOS uses.

Is there a way, using Linux, to find out the model number of /dev/sdc, or even the model numbers of all the drives in the system? ?

Answer: Try the hdparm program:

# hdparm -i /dev/sdc/dev/sda: Model=INTEL SSDSA2CW080G3, FwRev=4PC10362, SerialNo=CVPR112003RA080BGN…

The -i option of hdparm can be used to retrieve identification information.

💠

🔵 Best-selling data storage everyone's buying.

Fast, reliable, and on sale now. Thousands pick these weekly — don't miss Amazon's lowest storage prices.

Top 10 Bestsellers
🏆 4.7★+ Reviews
📦 Prime Shipping
👉 See today's best-selling hard drives, USB flash drives & SSDs on Amazon.com HDD · USB Flash Drives · SSD · External Drives
🛒
✅ Updated hourly — Amazon real-time ranking 🔥 Limited stock deals 🔗 Affiliate
⭐ Click to see complete best-selling list ⭐