The smartctl command provides many disk statistics and tests the drives. The hdparm command provides more statistics and examines how the disk performs in your system, which may be influenced by controller chips, cables, and so on.
Getting disk statistics
Getting ready
The hdparm command is standard on most Linux distributions. You must have root access to use it.
How to do it...
The -I option will provide basic information about your device:
$ hdparm -I DEVICE $ hdparm -I /dev/sda
The following sample output shows some of the data reported. The model number and firmware are the same as reported by smartctl...