How to check Hard Drive health
From Kolmisoft Wiki
Jump to navigationJump to search
S.M.A.R.T.
SMART tool can show information about registered errors and other Hard Drive information
Information can be listed by using command:
smartctl -a /dev/sda
where /dev/sda should be replaced with certain device.
Bad sectors
Certain partition can be checked for bad sectors by using following command:
badblocks -v /dev/sda1
where /dev/sda1 is partition which you want to check.
To get list of partitions use command:
fdisk -l