Tool for searching bad blocks in block devices and partitions. Use for questions about the tool badblocks or to repair bad blocks on devices.
Questions tagged [badblocks]
67 questions
40
votes
2 answers
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
- 809
- 6
- 13
- 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
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
- 430
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
5
votes
3 answers
are both my drives bad? this doesnt make sense
back story..
i took my 2 seagate 32000641AS drives out of an old dns-323 disk array..
i put them in my dell Precision T5600 since the dns-323 was old and becoming a pain to manage.
i then created two separate XFS fs on them and mounted them.
The…
keith
- 53
4
votes
1 answer
Fixing bad superblock on SSD drive: Is e2fsck safe to run?
The symptoms:
I cannot boot anymore into my Xubuntu 22.04 Linux machine, and here's what happened:
At some point my home directory filesystem went into read-only (most likely as a protective measure, from what I can gather). I then rebooted,…
bgoodr
- 1,612
4
votes
2 answers
Fixing bad sectors of a hard drive
My hard drive is partly visible (only 4.1 GB of 2TB) in "Disks" and has a bad sector. I have tried using the smartmontools to check for bad sectors and then used badblocks -svn /dev/sda for which I get the response
badblocks: Permission denied while…
Someone.
- 91
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
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
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
3
votes
2 answers
How to speed up badblocks
It has been 50h and it is only 0.04% of the way through... Which if my maths is correct means it will be finished after another 2,000,000h (not real maths)
hutber@hutber:~$ badblocks -svw -b 4096 -c 200000 /dev/sda -o bb_sdc.txt
Checking for bad…
Jamie Hutber
- 614
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
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
- 4,047
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