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.
 

1 comment:

  1. Regards
    Sridevi Koduru (Senior Oracle Apps Trainer Oracleappstechnical.com)
    LinkedIn profile - https://in.linkedin.com/in/sridevi-koduru-9b876a8b
    Please Contact for One to One Online Training on Oracle Apps Technical, Financials, SCM, SQL, PL/SQL, D2K at training@oracleappstechnical.com | +91 - 9581017828.

    ReplyDelete