Scan Hard Drive for Bad Sectors

Step:1 Use fdisk command to identify your hard drive info 

# sudo fdisk -l

Step:2  Scan your hard drive for Bad Sectors or Bad Blocks 

# sudo badblocks -v /dev/sdx > /tmp/bad-blocks.txt

 

cr. http://www.linuxtechi.com/check-hard-drive-for-bad-sector-linux/