1

I have one external hard drive which i plug to my linux machine. It causes read and write operation problems.

  1. When i check it with fdisk -l it wait for information to display for while. After few minute it got display.
  2. 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.

  • have you formatted it once?? – Sukupa91 Dec 6 '13 at 12:08
  • @Sushantp606 no not at all. – M S Parmar Dec 6 '13 at 12:09
  • Is that 1 minute 30 seconds, or 1 hour, 30 minutes? – psusi Dec 6 '13 at 14:44
2

Bad Sectors on hard drive can not be recovered or ignored. i have seen such questions So please have a look at these -

Question 1

Question 2

Question 3

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.

  • thanks, 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.. – M S Parmar Dec 6 '13 at 12:31
1

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.

  • the command badblocks -n doesn't do anything. it just displays a list of other commands – Mina Michael Jan 8 '14 at 13:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.