Friday, September 20, 2013

How to find hard disk Bad sector in Linux OS

How to find hard disk Bad sector in Linux OS

Find the hard disk details by issuing below command

#fdisk –l

In this screen show two partition of hard disk

/dev/sda1
/dev/sda2
 

 


Check the bad sector area in hard disk by issuing below command
sudo badblocks -v /dev/sda1


 


In “sda1” there is no bad blacks listed.

Now check for “sda2”
sudo badblocks -v /dev/sda2


 

No bad blacks listed in “sda2”

Now we can ensure that there is no bad blocks in this drive.
 

No comments:

Post a Comment