Bad Sector on hard disk cannot be used, Damage kind of physical damage.
Two way to find Bad sector. GUI & Command
In Fedora , you can find option under
Application > Accessories > Disk Utility.
Here you can see complete status of HDD.
Through Command line.
[root@ramank ~]# badblocks -v /dev/sda2
Checking blocks 0 to 511999
Checking for bad blocks (read-only test): done
Pass completed, 0 bad blocks found.
If you found any badblock, mark these bad sector as unusable.
Steps for that.
#badblocks /dev/sda2 > /tmp/badsector
After
#cd /tmp/
#fsck -1 badsector /dev/sda2
1 - Filesystem errors corrected
Enjoy...
Two way to find Bad sector. GUI & Command
In Fedora , you can find option under
Application > Accessories > Disk Utility.
Here you can see complete status of HDD.
Through Command line.
[root@ramank ~]# badblocks -v /dev/sda2
Checking blocks 0 to 511999
Checking for bad blocks (read-only test): done
Pass completed, 0 bad blocks found.
If you found any badblock, mark these bad sector as unusable.
Steps for that.
#badblocks /dev/sda2 > /tmp/badsector
After
#cd /tmp/
#fsck -1 badsector /dev/sda2
1 - Filesystem errors corrected
Enjoy...
0 comments:
Post a Comment