Corrupted blocks on a filesystem. Blocks are a unit of division on a filesystem.

learn more… | top users | synonyms

0
votes
1answer
31 views

Is it safe to interrupt badblocks?

I accidentally ran badblocks on my entire 320 GB disk instead of a single partition: sudo badblocks -s -v -n -f /dev/sda It's been running for 42 hours now. How can I tell when it will be finished? ...
1
vote
2answers
31 views

Is it possible to burn a live image to a damaged pendrive?

I have a 16G pendrive that has some bad blocks: # f3read /media/morfik/224e0447-1b26-4c3e-a691-5bf1db650d21 SECTORS ok/corrupted/changed/overwritten Validating file 1.h2w ... ...
1
vote
1answer
32 views

fixing an Ubuntu install on a flash memory with defective blocks

I've recently bought a cheap mini-PC with an ARM SOC and a 8GB builtin flash memory. I've flashed the Ubuntu Trusty image on the internal NAND but after a while i've started noticing random file ...
2
votes
1answer
32 views

What data transfer / write speeds are to be expected for a badblock destructible write test?

I have purchased a new HDD for my backups. Before entrusting the device with the job of keeping my data safe I want to make sure that it is in good condition. The drive is a new internal 3.5 inch SATA ...
1
vote
1answer
32 views

How can I choose optimal values for block size and blocks number for badblocks?

I'd like to test my hard disks with badblocks, but I don't know which values I should use for the block size (-b option) and blocks number (-c option). I randomly tried a few values and it seems they ...
0
votes
1answer
26 views

How to image certain portions of hard drive only

I have a failed hard drive which I need to extract data from. My dd kung fu is failing me right now. I know that the drive is failing at sector 60515007 to 60517093 (512b per sector), and multiple ...
1
vote
0answers
59 views

Print list of bad blocks in NAND flash from user space

Is there any user space tool that can retrieve and dump the list of bad blocks in a NAND flash device? I've checked the mtdinfo command line utility, and also searched /proc and /sys, but couldn't ...
2
votes
1answer
571 views

How do I check the progress of Badblocks if it's running in the background?

I'm running a drive check on my unmounted USB3 drive with: sudo fsck.ext4 -cDfty -C 0 /dev/sda1 & However, I sent it to the background and would like to check its progress. It's been running on ...
0
votes
2answers
417 views

badblocks utility keeps reporting “invalid last block”

I'm trying to run badblocks on a drive with a single partition. The drive contains a FreeBSD file system on it. I boot up using a Linux live USB drive. The drive is unmounted. The output of fdisk ...
1
vote
3answers
268 views

How to write a pattern to a device to use it with badblocks with -t test_pattern option

I recently bought a 4TB hard disk and I want to do a read-write badblocks test on this before I start using it. Since running badblocks with -w option would take ages for 4TB, I've thought to first ...
1
vote
2answers
302 views

Badblocks on 2TB external USB disk

I'm running badblocks on a 2TB external USB drive (WD Elements) for about 4 days now and it is still running. I initiated the command as follows: /sbin/badblocks -wsv -o badblocks-ext-disk.txt ...
2
votes
1answer
238 views

badblocks only takes 32-bit integer as start/end values

I have a 4TB drive with a 4096 byte block size. I want to check a very specific set of blocks, around the 700,000,000th block or so for bad sectors. However, badblocks seems to only support int32 as ...
1
vote
1answer
84 views

How to decrease the time the processes would wait (blocked) for disk reads (only to discover an error)?

Waiting too long when encountering an unreadable sector on a disk is really very annoying. (Especially if you are trying to read as much data as can be read from a disk with bad sectors, and do it ...
0
votes
2answers
793 views

Kernel does not skip bad blocks when mounting filesystem

I am developing for an embedded Linux application using friendlyARM's micro2440. It runs on a Samsung s3c2440 ARM processor and uses squashfs in its NAND flash. Recently, some flash blocks went bad. ...
1
vote
2answers
355 views

How to find out the bad block table offset and how to change it in u-Boot

I am facing a similar problem as this: Kernel does not recognize nand bad blocks marked by u-boot I'm using a friendlyARM micro2440 board that contains the s3c2440 ARM processor. u-Boot has found ...
1
vote
1answer
424 views

Access or recover files from Apple hdd with bad S.M.A.R.T. and 05-reallocating sector bad

I have a Macintosh HD (hfsPlus) [/dev/sdc2 on /media/ubuntu/Macintosh HD type hfsplus(ro,nosuid,nodev,uhelper=udisks2)] WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk ...
0
votes
1answer
145 views

Current pending sector count error

Recently my hard disk show some error message in SMART utility, I have taken a screenshot from error messages. That's something like : Current pending sector count error && Relocated sector ...
1
vote
1answer
1k views

Adding badblocks on mounted partition

I tried to move some files to my NAS (ShareCenter DNS-320), but something shows up, when using file managers: Input/Output error or when using rsync on mounted cifs/smb share rsync: close failed ...
6
votes
1answer
5k views

Does my hard-drive have bad sectors or not?

I got a new drive and I'm confused if smartctl detects bad sectors or not. Both short and extended self-tests completed without error. But the Error Log indicates Uncorrectable error in data for 96 ...
0
votes
1answer
549 views

How to check integrity to HDD with UDF format

I'm having problem with a USB external drive, which seem to be formated with UDF and was being used for MAC and Windows (or at least that is what told). When I attached the HDD to my Linux system ...
1
vote
1answer
62 views

Bad blocks only with extension cord?

My external hard drive was acting strangely, so I ran badblocks, and it seemed that nearly every block was bad from the first minute I ran it. If I did badblocks -v > file, the file was over 100MB ...
7
votes
2answers
6k views

Does a bad sector indicate a failing disk?

My Ubuntu 13.10 system has been performing very poorly over the last day or so. Looking at the kernel logs, it appears that the <1yr old 3TB SATA disk is having issues with a particular sector: ...
3
votes
0answers
2k views

badblocks and “end_request: I/O error” in output

I have 500GB disk in my toshiba laptop, I tried to do backup of files in this HDD but it failed few times (ubuntu just closed copying operation or unmounted disk during copying files). So I boot my ...
9
votes
3answers
6k views

How can I check for bad blocks on an LVM physical volume?

When you're using ext4, you can check for badblocks with the command e2fsck -c /dev/sda1 # or whatever. This will "blacklist" the blocks by adding them to the bad block inode. What is the equivalent ...
0
votes
2answers
151 views

ECC on a single block device

I have an SSD that I suspect failing silently now and then. I have run badblocks on it and it is clear that it is not bad sectors but might instead be some race condition in the electronics, in which ...
1
vote
0answers
183 views

How to blacklist bad blocks from a MD-raid + dm-crypt + ext4?

I have a ext4 partition, on top of a dm-crypt, on top of a MD-RAID 10. One partition (/dev/sdc1) dropped out of the array with a ton of read errors. I ran the manufacturer provided diagnostic tool ...
2
votes
1answer
3k views

Extremely long time for an ext4 fsck

The problem that I am having is the extremely long time that fsck is taking. I have thoroughly made searches on Google, but I could not find anything that would resolve the problem. The command that ...
8
votes
2answers
6k views

How to interpret badblocks output

The man pages for badblocks do not seem to mention what the three numbers in the output mean in particular: Pass completed, 7 bad blocks found (7/0/0 errors) Pass completed, 120 bad blocks found ...
2
votes
1answer
244 views

Can MD cope with a badblock list?

I have a MD drive set in RAID6 configuration with LVM2 on top. One of my drives was faulted last night due to bad blocks. Now apart from the fact that I am aware I should physically replace the drive, ...
4
votes
1answer
1k views

manufacturer's tool found bad blocks, but smartctl doesn't show any

Description of my problem is quite large, so first I will give a short summary, then I will precisely describe the situation. Short summary: manufacturer's diagnostic tools found and repaired some ...
3
votes
1answer
526 views

UBI bad block management

Anyone know what happens when UBI uses up all its reserved PEBs that are reserved for bad block management? For example say I have a UBI volume that has 14 PEBs reserved # ubinfo -d 1 ubi1 Volumes ...
9
votes
1answer
1k views

Is interrupting badblocks risky?

I'm running badblocks to check for bad segments on an external drive, and it's been about an hour and it has not yet finished. Now, I need to go and consider cancelling. Is this somehow risky? Should ...
15
votes
4answers
10k views

Linux - Repairing bad blocks on a RAID1 array with GPT

The tl;dr: how would I go about fixing a bad block on 1 disk in a RAID1 array? But please read this whole thing for what I've tried already and possible errors in my methods. I've tried to be as ...
4
votes
3answers
2k views

ReFS but for Linux

Microsoft is going to bring a "Resilient FileSystem" with Windows 8, but only for servers. I'd like that on a Linux desktop, but my search reveals no contender. There are so many filesystems for ...
5
votes
1answer
2k views

How to view bad blocks on mounted ext3 filesystem?

I've ran fsck -c on the (unmounted) partition in question a while ago. The process was unattended and results were not stored anywhere (except badblock inode). Now I'd like to get badblock ...
1
vote
2answers
340 views

Why is badblocks segfaulting?

I am trying to check a mounted partition to see if the drive has errors: [root@virtuality ~]# /sbin/badblocks -v /dev/sdb1 Segmentation fault Uh oh. What does this mean? Why is badblocks ...
14
votes
1answer
8k views

How do you use badblocks?

I need to do a destructive (rw) test on a new drive, and a read-only on a drive that fell out of my RAID array. I want to see if it finds problems and how far along it is.