Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [bad-blocks]

The tag has no usage guidance.

0
votes
0answers
14 views

How to prevent MDADM from failing drive for read errors?

How can I assemble MDADM RAID array with drives previously failed for read error such way it will keep the array assembled despite read error(s) – ie. how to prevent MDADM from failing drive due to ...
1
vote
1answer
58 views

How to add a sector to the list of badblocks for ext4?

dumpe2fs -b /dev/sdd1 can dump blocks that are known to be bad by ext4. How do I manually add a block to that list without redoing mkfs ?
0
votes
2answers
48 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
2answers
55 views

Detecting bad blocks/ sectors on modern (spinning) drives and script to monitor SMART info

I'm currently scanning a number of old drives to detect errors. If you google detecting bad sectors on a mechanical spinning disk (rather than ssd) you'll usually come across: windows chkdsk/r ...
0
votes
1answer
114 views

How to interprete S.M.A.R.T and Badblocks results

I have bought a used SSHD ( Seagate Laptop SSHD - ST500LM000-1EJ162 ) on ebay. Regarding to S.M.A.R.T the disk might be damaged somehow, I am not sure. To correctly interprete the S.M.A.R.T values, I ...
0
votes
1answer
244 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
0answers
170 views

GNU ddrescue, request help on how to proceed for advanced passes

Hello I'm doing an image of an ntfs disk with the GNU utility ddrescue, I made a first pass with the -n option which resulted in an amount of non-scrapped data, a bad-sector amount, a number of bad-...
1
vote
1answer
223 views

ZFS scrub finds checksum errors, but badblocks and smartctl do not

I have configured a ZFS pool with two drives as a mirror. The operating system is Ubuntu 16.04 and I have been using the zfs 0.6.5 as packaged by the vendor. The drives are 3T WD Green and 3T WD Red (...
0
votes
0answers
170 views

Lots of “weird value (4294967295) in do_write” errors when running badblocks

I'm using badblocks to check for bad sectors on a 200GB IDE/PATA HDD, which is a few years old now. The disk was working fine a few weeks ago, but in between putting it in short-term storage and ...
3
votes
1answer
372 views

How to start badblocks at a specified portion of the drive

While trying to dd the last few blocks of a 200GB Maxtor IDE hard drive, I run into the following error: $ dd if=/dev/zero of=/dev/sdc bs=4M status=progress 203901894656 bytes (204 GB, 190 GiB) ...
2
votes
1answer
130 views

partclone via clonezilla - where are the bad blocks logged?

I've just backed up a partition using clonezilla, which in turn employed partclone. During the backup, several blocks were bad and were skipped (it was in rescue mode). Is there a log of these?
4
votes
1answer
2k views

How to test SSDs or NVMe for badblocks'?

With the traditional spinning disks diagnostics is rather easy. If you suspect a drive to be faulty, you can check the SMART values, run a SMART extended test and a badblocks -wsv test. If all three ...
138
votes
15answers
22k views

How can I intentionally break/corrupt a sector on an SD card?

I need to test the resilience of some read/write code for some embedded hardware. How might I sacrifice a few SD cards and break several known sectors for a controlled study? The only thing I can ...
0
votes
2answers
2k views

ext4 filesystem still has errors after fsck

Suddenly my ext4 file system fell down into read-only mode. I've unmounted this disk and tried to repair it, but without any success. fsck tries to fix something but ends with FILE SYSTEM WAS ...
0
votes
2answers
280 views

How to know if bad block is logical or physical?

I cannot read some files from external disk (NTFS system). Windows cannot read from this disk now. I am just scanning the disk using badblocks (Linux). The program prints a lot of bad blocks. I ...
0
votes
0answers
265 views

S.M.A.R.T. reporting bad sector, which is bigger than the sector count

I'm trying make a remote backup server, so I installed smartmontools to monitor my Samsung M3 External (USB3) 1 TB disk. I ran a self test on it and it gave back a read error: 5 ...
0
votes
1answer
608 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 ...
-1
votes
1answer
341 views

What is AdBlock blocking on my website?

While reading my webpage I noticed that AdBlock was blocking one element. I certainly don't have any ads. Here's the entire source: <!DOCTYPE html> <html> <head> <title>...
0
votes
0answers
779 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
2answers
140 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
1answer
1k 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 ...
1
vote
1answer
143 views

How long would badblocks take on a 40GB disk? How do I optimize the whole procedure?

I am running badblocks on a 40GB partition checking for errors.It hasn't responded for hours now! Went through some answers related to this and someone suggested to increase the -c parameter's value ...
-2
votes
1answer
2k views

How do Zero-Fill, Full Format, and CHKDSK fix bad sectors?

I use HD Tune pro error scan to find problems with mechanical hard drives. However, I am confused as to weather these are fixable problems or not. Please clarify weather my statements are accurate: ...
0
votes
1answer
87 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
1answer
167 views

Can data patterns on HDD cause corruption?

I am really baffled that one of my movie files doesn't seem to like Samsung HDDs and I was wondering if certain data patterns can cause or at least favor data corruption over time. It first started ...
0
votes
1answer
2k 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 ...
0
votes
1answer
67 views

Retrieve data from a mountable partition refusing `cp` but allowing `dd`

Recently, my internal drive failed after a manual reboot and I would like to retrieve the data before changing it. My computer is a Macbook Pro mid-2012 and the drive is formatted as HFS+. (From my ...
0
votes
0answers
38 views

New external USB HDD cannot copy big files and develops bad blocks

I had an issue with external HDD not being able copy out big files but thought it was due to the bad blocks that they had (here is that question). But now I have brand new 5Tb that I am trying to use ...
0
votes
0answers
879 views

Input/output error when reading disk

I did a forced shutdown after my computer froze (on Ubuntu). After turning back on I found a "attempt to read or write outside of disk hd0" error, after choosing Ubuntu on GRUB. I haven then booted ...
1
vote
1answer
48 views

Is it a hardware failure to have badblocks on HDD

My PC was running slow , I thought that there may be some problem with the hard disk , so I ran badblocks and the process was running for the last 263 hours before I accidentally interrupted it. It ...
0
votes
2answers
573 views

Does it worth to reinstall Windows 7 in the same partition after bad sectors found by CHKDSK in it?

I've executed CHKDSK with both "Automatically fix filesystem errors" and "Scan for and attempt recovery bad sectors" options selected on a system partition of a clean Windows 7 installation. Wininit ...
0
votes
2answers
279 views

Does having some Bad Sectors indicate that the drive will crash soon?

I have a Hitachi HTS723232L9SA62 320Gb 7200RPM HDD. I checked the SMART status and there are 3 bad sectors, totaling 1.5MB. This means that approximately 0.00046875% of my hard drive has gone bad. Is ...
0
votes
1answer
160 views

Usefulness of badblock on modern storage media

If I understand it correctly, badblocks just writes somewhat elaborate patterns to the supplied block device and reads it back. With modern hard drives doing extensive caching, sometimes have included ...
3
votes
2answers
1k views

Is there any option to quickly scan an entire hard drive for bad blocks?

I have a 1 TB HDD so I want to test for bad sectors or bad blocks but badblocks takes a LOT of time in Linux (barely 4.66% done in 6 hours 3 minutes). In Windows however chkdsk scans in a few seconds ...
5
votes
2answers
24k views

Rufus says my USB drive has bad blocks, how do I fix it?

My USB drive have 256 bad blocks according to Rufus, and yes it does contain bad blocks since it always give corrupted error message when I try it to install Windows, but running chkdsk on this USB ...
2
votes
2answers
484 views

What happens to sectors marked as bad when HDD is repartitioned? [duplicate]

If I have an HDD with some bad sectors and I format the disk (from Windows) or re-partition the disk, will bad sectors still be marked as bad?
-2
votes
1answer
370 views

Accumulate all bad blocks and install OS in clean partition [duplicate]

My WINDOWS7 been crashing a lot, with other problems like: Running system hangs Drives (partitions) disappear and come back on restart System restarts without showing any error Going through ...
0
votes
1answer
4k views

How to know if bad sectors are caused by physical or logical damage? [closed]

Is it possible to know whether bad sectors are caused by physical damage or logical damage on a hard drive?
3
votes
2answers
2k views

Can BSOD cause bad sectors on a hard drive?

What I mentioned as "bad sectors" here are quoted from following scan/test: result from CHKDSK, referred as "Bad Sectors" on the report screen. result from HD Tune - Error Scan, referred as "...
0
votes
1answer
111 views

Best copy process with pending sectors?

I'm a bit confused due to this thread: Any way to recover a file with bad blocks (CRC error in Windows)? I recently decided on a Synology DS1815+ with four WD4000FYYZ HDDs (SHR2, which is Synology’s ...
2
votes
1answer
12k views

Thousands of bad clusters discovered by chkdsk on external HDD

2 days ago, during download, uTorrent started to throw CRC error (write), i resumed failing download multiple times with no luck(same error appeared again and again just in few seconds/minutes), then ...
2
votes
0answers
618 views

Is my SSD starting to fail?

I have Plextor 256 gb M2P which is only 3 years old. I tried to make a backup image of my system drive with reflect (macrium) and windows backup but it both fails each time with an IO error. Altough ...
1
vote
0answers
92 views

Should I test that an SSD is working properly the same way I test an HDD?

I habitually test new or repurposed HDDs with badblocks -w before using them, just as a precaution. Now that I'm starting to use SSDs, I'm not sure if the same test is appropriate. Is there a more ...
1
vote
1answer
19k views

How to fix bad blocks on SSD

I've got 14 bad sectors on my Kingston HyperX SSD. Although any benchmark shows that SMART for this drive is good or 100% on CrystalDiskInfo. Is there any way to erase them? I've tried Vitoria with ...
2
votes
0answers
1k views

How can I manually mark a bad block on a NTFS-formatted hard disk in Windows?

I have a disk with a single broken sector. SMART shows 0 reallocated sectors and 0 pending sectors. Unfortunately, this sector can not be fixed in usual way by forcing HDD controller to remap it, as ...
0
votes
2answers
2k views

Is it possible to mark or segregate bad blocks on HDD?

Hello I want to know if is it possible to mark bad blocks on HDD for OS to not use them. I don't want to save data written on this blocks, just want to get rid of them. I found some article where ...
3
votes
3answers
7k views

Mark bad blocks as unusable on NTFS using linux

one of my laptops are using windows and after a certain impact it doesn't boots up anymore, I figured the disk might've been damaged. So I've launced live Kali linux and scanned it with badblocks (...
0
votes
2answers
216 views

HDD Current_Pending_Sector attribute going up and down

I have Western Digital Caviar Black drive (model WD2002FAEX-007BA0). System is running Linux Mint 14. Filesystem on drive ext4. Recently I've got some i/o errors on one of the files. Then I've ...
1
vote
1answer
2k views

Bad sectors vs spare/reserve sectors and how the OS and disk interpret them

From what I understand, there are two fundamental ways sectors are marked bad: OS performs IO read/write instruction. The sector is replaced with a spare and marked bad. Disk's low-level instructions ...
0
votes
0answers
184 views

check if hdd has bad sectors ad force windows to ignore them

i have a 500gb hdd (SeaGate), and every now and then i get a bsod with error being ntfs.sys it happens daily, maybe even 3 times a day is there a way I can check if my hdd has: a. A bad sector/s ...