Friday, June 12, 2015
How do we check faulty disk in linux?
Andrea Meschino
I'm new on checking disk fault. Basicaly I'm using smartctl, fsck, badblocks commands
Here is my procedure:
* fsck -fvC0 /dev/sdb1
* smartctl -a /dev/sdb
* smartctl -i /dev/sdb
* smartctl -c /dev/sdb
* smartctl -t short /dev/sdb
* smartctl -H /dev/sdb (check health status)
* smartctl -l selftest /dev/sdb
* smartctl -l error /dev/sdb
* smartctl -l selftest /dev/sdb
* badblocks -v -o badblocks.log /dev/sdb1 (takes a lot of time and log into a file any bad block)
What do you think about it?
Subscribe to:
Post Comments (Atom)
http://hdck.sourceforge.net/