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.

M S Parmar
  • 293
  • 1
  • 4
  • 9

2 Answers2

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.

Sukupa91
  • 3,037
  • 2
  • 20
  • 33
  • 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 06 '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.

842Mono
  • 9,790
  • 28
  • 90
  • 153
psusi
  • 37,551