May 15
2014
HDD check on linux
1. Check HDD for bad block
sudo badblocks -v /dev/sda1 > bad-blocks
2. Pass the file to fsck
sudo fsck -t ext4 -l bad-blocks /dev/sda1
1. Check HDD for bad block
sudo badblocks -v /dev/sda1 > bad-blocks
2. Pass the file to fsck
sudo fsck -t ext4 -l bad-blocks /dev/sda1