bad blocks on my hard drive
Not a good day for science. One hard drive from my data server is not working right.Sometimes the system stops responding. Well, to check for badblocks just use smartctl , ofcourse your hdd must know about smartctl.To check use hdparm [...] hdparm -I /dev/hda [...] Commands/features: Enabled Supported: * SMART feature set [...] To see if Checking blocks 0 to 78150744 Checking for bad blocks (read-only test): 23267840/ 78150744 23489984/ 78150744 done Pass completed, 0 bad blocks foundthe hdd is ok run: smartctl -t long /dev/hda In order to check for badblocks run: badblocks -sv /dev/hda If you get something link this: Checking blocks 0 to 78150744 Checking for bad blocks (read-only test): 23267840/ 78150744 23489984/ 78150744 done Pass completed, 0 bad blocks found. ...you are lucky, if not, well...bad day for you :(