Use the command line to easily find hard drive manufacturer information
If you ever need to get your hard drive’s model and serial number without physically looking at it, you can do so with the hdparm command line utility. This is especially useful if a manufacturer requires the serial number for an RMA or any other servicing needs.
In this example, we are retrieving the model and serial number of the system’s first drive that is labeled /dev/sda:
$ hdparm -I /dev/sda | grep -i number
Model Number: WDC WD5000AAKX-00ERMA0
Serial Number: WD-WMC2E0607821
If you also want to see the size of all the disks in a system, you can easily view the size with:
$ fdisk -l | grep -i ^Disk
Disk /dev/sda: 500.1 GB, 500107862016 bytes
Categories
- Getting Support (5)
- Hardware (35)
- Areca Raid Arrays (3)
- InfiniBand (10)
- LSI Raid Arrays (9)
- NVIDIA Graphics Cards (1)
- Racks (1)
- Troubleshooting (8)
- Software (11)
- ACT Utilities (5)
- HPC apps & benchmarks (1)
- Linux (3)
- Schedulers (3)
- SGE / Grid Engine (1)
- TORQUE (1)
- Tech Tips (17)
Request a Consultation from our team of HPC and AI Experts
Would you like to speak to one of our HPC or AI experts? We are here to help you. Submit your details, and we'll be in touch shortly.