To get the make, model and serial number for SCSI or IDE hard disks under the CentOS Linux server, we can use
hdparm command.
Command syntax :-
# hdparm -I /dev/sda
# hdparm -I /dev/sda | grep Serial
OR for IDE /dev/hda :-
# hdparm -i /dev/hda
OR
# hdparm -I /dev/hda
Where the -i or -I options request identification info directly from the drive, which are displayed in a new expanded format.
]]>