All Questions
Tagged with bad-blocks linux
28
questions
0
votes
1
answer
54
views
Is my HDD failing?
I tried to resize a partition of my 3-year-old HDD using gparted, but it failed and displayed a message saying that there were bad blocks and that was a sign of physical damage to the drive.
I used ...
0
votes
1
answer
230
views
Check for previously found badblocks on a drive without re-running all of badblocks?
I ran badblocks on a couple of drives for 48 hours. One drive had lots of badblocks whereas the other was clean. I then physically took out the drives from the computer and accidentally mixed them up. ...
1
vote
1
answer
457
views
Finding files on a RAID5 ext4 filesystem associated to bad blocks on one HDD
I am running a NAS with Openmediavault 5 and I have set up a RAID5 (with mdadm) with 3x 5TB WD Red harddisks back in the day (see details below for mdadm output). I am using the whole disk as member ...
1
vote
1
answer
350
views
usb stick's broken after badblock with -w option
I have two usb sticks with 8Gb and 128Gb size. For different reasons, I pass badblocks with -svw option, and now both sticks are totally damaged. Every time I want to write on it I have the same error:...
2
votes
1
answer
6k
views
badblocks is taking ages - what am I doing wrong?
I have a 8TB Seagate Archive drive which has a few bad sectors. I can't afford to replace it yet, though. I'm trying to "fix it" with badblocks for the time being, but it's taking ages:
# badblocks -...
1
vote
1
answer
3k
views
How does mkfs -c works
I have faulty 3 Tb drive. There's a lot of bad blocks, but it's still has about 2.6 Tb usable space and I'd like to utilize it for trash storage (music, videos, etc.) At first I came across some guy's ...
0
votes
1
answer
925
views
HDD SMART test shows read error; should I toss the disk or scan for bad blocks?
After triggering SMART test (long) using smartctl, I have the following smartctl -a output:
smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.4.0-142-generic] (local build)
Copyright (C) 2002-16, Bruce ...
1
vote
2
answers
5k
views
Checking a new disk for bad blocks on Linux, does read-only make sense?
When I issue the following command
sudo badblocks -vs -b 4096 -o badsectors2.txt /dev/sdc1
I get as a response
Checking blocks 0 to 1152784944
Checking for bad blocks (read-only test): 72.37% done,...
0
votes
1
answer
2k
views
I can't change SATA hard disk (working in UDMA) to PIO mode in Linux
I'm trying to disable DMA in my SATA 3.5" hard disk drive to work in PIO mode because for recovering some bad sectors from a failing disk with GNU ddrescue
I am using PartedMagic Linux live CD and I ...
0
votes
1
answer
2k
views
Badblocks and fsck say HDD is clean but Linux marks it as read-only
I'm relatively new to Linux so I'm not sure why this is happening.
I have this one drive that Linux always marks it as read-only partition. At first I thought it was just the OS so I did a clean ...
0
votes
0
answers
2k
views
mkfs.ext4 and mkfs.vfat with same badblock file give me different space
I have a 256GB pendrive with bad sectors, and I get them with this command:
sudo badblocks -wsvf -o 256GB.txt /dev/sdc
But when I use this file (256GB.txt) to format the pendrive I get different ...
1
vote
2
answers
369
views
SMART: Is my HDD about to get bad sectors and corrupted data?
I am running gsmartcontrol in Linux.
I ran an extended SMART test. The Health Self-Assessment test returned a value of 'PASSED'. However I am concerned about the possibility of any bad sectors and ...
2
votes
1
answer
4k
views
How do you securely erase remapped bad sectors on HDD in Linux?
I have run badblocks on my HDD in Linux. No badblocks were found. However some bad sectors may have been previously detected and remapped; if this is the case, the badblocks test would not have found ...
0
votes
1
answer
383
views
Writing to bad sector makes every other operation fail afterwards
My hard drive has a few bad blocks, so I'm trying to get a list of them all in order to bypass them when creating a new ext4 filesystem, like this:
badblocks -wsv -o badblocks_sdf.txt /dev/sdf
As ...
1
vote
2
answers
4k
views
Is there a good way to scan a drive for bad blocks in the background?
I just got a QNAP TS-251, an NAS that runs Linux plus the manufacturer's tools. One of the setup options is to run a bad block scan, but on a pair of 4 TB drives that might take a really long time to ...