How can i skip bad sector on my hard Drive?
Solution 1
Bad Sectors on hard drive can not be recovered or ignored. i have seen such questions So please have a look at these -
The Only thing you can do is Get a new Hard Drive as in future fortunately you may loose your important data saved in that.
Precautions are better than Cure.
Solution 2
Run badblocks -nv /dev/sdx
. Replace dev/sdx
with the drive you want to check (with the drive unmounted). This makes a read-write test on the drive and check the SMART stats after. -nv
specifies that the test is non-destructive (will not damage your data) and will give you status.
If there are plenty of reallocated sectors, then you need to replace the drive asap. If not, and the pending count is zero, then the drive should be fine.
Adding -c 1024
to badblocks makes it go significantly faster too.
Related videos on Youtube
M S Parmar
Updated on September 18, 2022Comments
-
M S Parmar almost 2 years
I have one external hard drive which i plug to my linux machine. It causes read and write operation problems.
- When i check it with
fdisk -l
it wait for information to display for while. After few minute it got display. - i had use
badblocks
command for checking bad sector on disk. After around 1:30 min it gives total 1040+ bad sector location.
So is there any way to skip this location and use remaining memory ??? Or fixing this problem. whether i need to change it.
-
Sukupa91 over 10 yearshave you formatted it once??
-
M S Parmar over 10 years@Sushantp606 no not at all.
-
psusi over 10 yearsIs that 1 minute 30 seconds, or 1 hour, 30 minutes?
- When i check it with
-
M S Parmar over 10 yearsthanks, when i recover data from my hard drive at specific location it got leg or hang and process remain same for long time. secondly i attached it with linux machine and try to access but fail..