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

learn more… | top users | synonyms

2
votes
1answer
84 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
92 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 ...
0
votes
3answers
62 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
1answer
79 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
82 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
49 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
378 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
100 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
219 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
69 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
455 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 ...
5
votes
1answer
3k 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
390 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
51 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
3k 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: ...
1
vote
0answers
913 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 ...
6
votes
3answers
4k 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
127 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
146 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 ...
5
votes
2answers
4k 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
215 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, ...
3
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
434 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 ...
8
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 ...
11
votes
4answers
8k 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 ...
3
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
1k 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
320 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 ...
13
votes
1answer
6k 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.