Wednesday, April 27, 2011

Bad Sector on Hard Disk


Bad Sector on Hard Disk

Modern disk map bad sector to good sector to avoid any sort of error due to bad sector. If a large number of sector mapped to another sectors that means disk is going to fail
 smartctl command is very helpful command to diagnose disk related problems

To instruct for selftest , we can issue following command
 root# smartctl -l selftest /dev/sda

To get attributes list you can use following command
 root#smartctl -A /dev/sda

The output of above command is self explanatory and help you to recognize if there is any problem on hard disk.

No comments:

Post a Comment