Expand your knowledge of hardware, software and supercomputing

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

Use our Breakin stress test and diagnostics tool to pinpoint hardware issues and component failures.
Check out our product catalog and use our Configurator to plan your next system and get a price estimate.

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.

  • This field is for validation purposes and should be left unchanged.