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”
If you dont have hdparm installed in your system, just use yum install hdparm to install it from rpm repos. The output will look similar to below.