Tuesday, August 2, 2011

How to get Hard-Disk serial number using Hdparm?

Hdparm ( get/set hard disk parameters ) can be used to find hard drive serials. If you have several hard drives installed and if you want to list all the model and serial numbers of the installed drive. You can retrieve them using

# hdparm -I /dev/sd? | grep -E “Number|/dev”

No comments:

Post a Comment