Questions tagged [badblocks]

Tool for searching bad blocks in block devices and partitions. Use for questions about the tool badblocks or to repair bad blocks on devices.

65 questions
33
votes
1 answer

how to check badsector on ext4 6TB

how to check bad sector on HDD 6TB koko@Rumah:~$ sudo badblocks -v /dev/sda2 [sudo] password for koko: badblocks: Value too large for defined data type invalid end block (5751976960): must be 32-bit value
Ivan
  • 739
  • 6
  • 11
  • 18
9
votes
2 answers

Is my hard-disk doomed?

SMART Data & Self-Tests Overall Assessment reports for both disks Disk is OK. What does this mean? According to the following two screenshots is my hard disk doomed?
anchicka
  • 91
  • 4
8
votes
3 answers

Fastest way to check for bad sectors in HDD?

I have a bunch of disks, probably 50 or more laying there, I know some of them are broken and some should still work fine, I need a way to check them without wasting days. Do you know any tools besides badblocks, that can do it without taking too…
Computer's Guy
  • 410
  • 2
  • 10
  • 22
5
votes
2 answers

How do i update e2fsck?

Recently, after a sudden power failure, my 1tb hard drive (/dev/sda1) failed and will not mount. It says, Error mounting /dev/sda1 at /media/zangar_/4b84d62b-520d-408e-addc-7a2bf52cc4e3: Command-line ``mount -t "ext4" -o…
Zangar
  • 140
  • 1
  • 2
  • 11
5
votes
1 answer

Is there a way to use badblocks with btrfs?

I have a hard drive with bad sectors that I've found using badblocks and whatever Windows uses. I have Lubuntu installed on btrfs, and it's running smoothly for now (where Windows would freeze up), but is there a way to feed badblocks output to…
guest
  • 51
  • 1
  • 2
3
votes
2 answers

Hard drive won't mount

Running sudo fdisk -lu returns the hdd I want to mount as Disk /dev/sdb but when I try to mount it from KDE Partition Manager it doesn't show some directories when I try to set up a path (tried showing hidden folders, only displayed 3) and through…
HelpMeee
  • 648
  • 3
  • 10
  • 20
3
votes
1 answer

Is information about a filesystem's bad blocks preserved after formatting a partition?

I have a drive with bad blocks. The filesystem is aware of them, and I read that you can feed e2fsck with a badblocks repport to inform the file system that there are some bad blocks. (I think the option -c in fsck is doing the same thing.) If I…
Jitsumi
  • 71
  • 1
  • 4
3
votes
1 answer

"Disk is OK, 113 bad sectors"

So, lately I've been having issues booting up Ubuntu and having to go into grub and do a recovery boot and I'll have issues saying "i/o errors in dev/sda" or something along those lines and I noticed I have 113 have bad sectors in my HDD when I just…
durango
  • 33
  • 1
  • 1
  • 3
3
votes
1 answer

Mark ext4 blocks as bad manually without trying to read/write

I have a 10-years old 320 Gb HDD which I've used as an external drive, and it traveled with me for much of those 10 years. Needless to say, it survived more than a few falls (including those while in operation), and got some bad sectors. When I…
pazhosch
  • 51
  • 2
  • 9
3
votes
4 answers

External hard drive keeps powering down

Is it possible to prevent an external hard drive from powering down? I left the drive on over the night for a large download, but when I checked it in the morning, the download failed with the message unable to access the drive. I am able to…
oshirowanen
  • 3,937
  • 23
  • 76
  • 104
2
votes
2 answers

How much time does it take to zero-out hard disk of 500gb?

I'm seeing a blank screen with cursor(underscore) at the top left. My laptop is accessing the hard disk continously. It's been around 15 minutes.
sushil
  • 21
  • 1
  • 2
2
votes
1 answer

is it possible to recover bad blocks?

I have a 500Gb Internal HDD and from dmesg's output i got this "wonderful" news: [ 324.434832] end_request: I/O error, dev sde, sector 4715026720 [ 324.434838] Buffer I/O error on device sde1, logical block 589378084 [ 324.434854] Buffer I/O…
simple mind
  • 349
  • 5
  • 16
2
votes
1 answer

Laptop with bad blocks won't repair

I received a Dell Inspiron 1545. It was corrupted when I got it, and I have been able to successfully install Lubuntu. But when I try to install windows, it gives me an error. I have figured out that the problem is that the HDD has a lot of bad…
2
votes
1 answer

After badblocks found read error, the Reallocated Sector Count wasn't updated

My HD had a few corrupted files so I wanted to check all the sectors and have the HD controllers mark the failing one. Following the advices from this answer, I have run a badblocks on my external HD. From the answer, this command force checking of…
MagTun
  • 155
  • 8
2
votes
2 answers

I read somewhere that you should not mark bad sectors as bad, if the number of bad sectors is growing. Is this true?

My laptop hard drive shows a growing number of bad sectors every time I use it for browsing. It goes really high when I use it for anything other than browsing. The 1 TB hard drive already has about 8960 bad sectors. Should I replace it now or…
Arn
  • 31
  • 1
1
2 3 4 5