Questions tagged [corruption]
Corruption is a state of a file, a filesystem, etc. where all its data and metadata are not consistent. This tag may be used to reference questions dealing with problems of data recovery after erroneous manipulations or unexpected shutdown.
226 questions
-2
votes
1
answer
116
views
Mass file integrity checking
I have many, many tb of files from over the years, stored poorly and transferred. Mostly from Win7 days.
I am mindful that bitrot is a problem and I’m sure in my travels Ive seen a couple videos which ...
-2
votes
1
answer
1k
views
wrong fs type, bad option, bad superblock on /dev/sda1
I'm new to Linux (just over 1 month) and I’ve encountered a problem with my drive.
I have the main drive (SSD) and a secondary drive (HDD).
The HDD was working fine, but now I’m getting this error ...
2
votes
0
answers
85
views
Partitioning or duplicating corrupted SSD
My SSD died and all its data seems to be inaccessible and my Windows computer won't boot anymore.
After going to a local computer store I was told that they could fix it by wiping all the data. I can ...
0
votes
3
answers
405
views
/bin, /sbin symlinks mysteriously breaking, init file disappearing. How to debug?
Similar to here, but no solution was found for them either. I also tried checking the history, see if something was running 'rm' but no dice.
Periodically, my device stops responding. The only ...
0
votes
1
answer
189
views
Will the Fedora Silverblue's read-only disk partition be damaged if I run "sudo dd if=/dev/urandom of=/dev/drive0" from within itself?
'Drive0' refers to the disk where system is installed. Can the immutable system be damaged (meaning can its filesystem that is mounted in read-only, not counting the files that are user accessible, be ...
1
vote
2
answers
1k
views
Bad magic number in super-block on external HD after multiple power outages—still OK to use?
I have a computer at home that I use as a file server, using Nextcloud. Every computer at home is Ubuntu/etx4. I've had multiple outages recently in the neighborhood, and I think the sudden shutdowns ...
0
votes
0
answers
173
views
file system on an emmc damaged by a power surge?
I'm running a Quartz64 (Model A) booting off an eMMC drive,
and it recently suffered a file system corruption
after a power outage due to a lightening strike.
After this, it wouldn't boot up. I had ...
1
vote
1
answer
742
views
How to repair this problematic hard drive?
I have a WD 1.3 TB hard driver, it might have some bad sectors.
I plug it in the Raspberry Pi and partition the disk with following commands
sudo fdisk -l /dev/sdb, then g, n, w
to create the new ...
5
votes
2
answers
656
views
What can cause “multiply claimed blocks” on an ext4 drive?
“Multiply claimed blocks” is an error reported by fsck when blocks appear to belong to more than one file. This causes data corruption since both files change when one of the files are written.
But ...
0
votes
0
answers
173
views
Debian installation is emergency mode, how to recover data and create a new installation with previous installation's apps and data?
I'm using a Raspberry Pi as a home media server, and it has been in emergency mode for a while. Despite being in this mode, it continues to function normally.
My question is, is there an effective way ...
0
votes
1
answer
249
views
Is there a case where Applications need to do it's own File corruption checks with file systems like EXT4 and XFS and recent Linux OS like Red-Hat 8
What I presumed is
File systems like EXT4 and XFS. Writes blocks to disk (Could be a Hard Disk or a SSD) along with a checksum.
When Reading back, if checksum fails, read operation will NOT return ...
0
votes
0
answers
195
views
Corrupted EXT4 filesystem on embedded Linux (A20 Olimex Lime 2) with clean poweroff
Context
I'm here to talk to you about an EXT4 filesystem issue that I don't understand.
In my company, we are working on embedded Linux system.
We use the board Olimex Lime 2.
T2-OLinuXino-LIME2-...
4
votes
2
answers
544
views
Is there a filesystem that can maintain extra ECC data like raid5, but in the filesystem to make a fault-tolerant single external drive?
Normally to make a fault-tolerant or corruption-repairing filesystem, you use multiple drives and raid 5, or anything but raid 0.
There are also many ways to make a fault-tolerant archive file like ...
2
votes
0
answers
180
views
zfs scrubbing not detecting corruption in backing store - why?
A bit of background:
I am storing VM images, my home directory, my mail, my media collection on single-primary DRBD devices built on LVM logical volumes built on two RAID0 arrays (one in each DRBD ...
0
votes
0
answers
907
views
How to auto-recover after unclean shutdown?
I have an embedded system that I do not have very easy access to. Although in retrospect, I shouldn't have built it this way, but the only way to shut down the system is to kill power. This works 99.9%...
0
votes
0
answers
3k
views
Recover ext4 partition superblock `Free blocks count wrong for group #0`
I have a broken ext4 partition which I want to recover. The problem occurred because of a sudden power loss. The partition is an encrypted luks partition. Opening the luks container works. Say I open ...
3
votes
1
answer
8k
views
How to repair errors on BTRFS partition
I need help checking and repairing a BTRFS partition. It all started with a few directories on my system being inaccessible. Permissions of these directories are shown with question marks when I ...
0
votes
0
answers
453
views
RPMDB Corruption Issue - RHEL 7
RPMDB got corrupted recursively on one of my server recursively.
2016-07-07 14:14:31,296 - ERROR - error: rpmdb: BDB0113 Thread/process 6723/140691298633536 failed: BDB1507 Thread died in Berkeley ...
1
vote
1
answer
186
views
USB Drive is not detecting and is in read only mode with error NTFS signature is missing
command :
sudo hdparm -r0 /dev/sdb
Output :
/dev/sdb:
setting readonly to 0 (off)
readonly = 1 (on)
By any chance it will be turned off ? If yes how can we?
Issue:
USB is not detected. Unable to ...
0
votes
0
answers
231
views
Constant ext4 corruption
For the second time now in about 6 weeks, my Proxmox root has reported ext4 errors and I've had to fix them by booting into initramfs and running fsck.ext4.
There's one file I can't seem to delete - ...
0
votes
1
answer
639
views
Why are my PNG files becoming corrupt so frequently?
I use R/RStudio to draw graphics and maps, and save them as PNG. Along the creation process, I save the same file over and over, to see how it's going, until I get to the final product. Sometimes the ...
2
votes
1
answer
2k
views
Error when trying to corrupt packets in linux terminal (netem)
The following rule corrupts 5% of the packets by introducing a single bit error at a random offset in the packet:
sudo tc qdisc change dev ens8 root netem corrupt 5%
But recently it gave me the ...
0
votes
0
answers
1k
views
Unable to decompress gzip file ("not in gzip format")
I've been tasked with diagnosing an issue with a webpage, and I've been able to trace the issue back to a gzip'ed JavaScript file, jquery.min.js.gz. To view the code, I've downloaded and attempted to ...
0
votes
1
answer
285
views
Looking for a checksum-based, poor-man's solution to fighting silent data corruption in long term storage of family video files
Secure storage of my collection of family video is becoming problematic after a dramatic increase in size in the last years. I am using a set of 3 copies of the same collection stored in 2.5 USB thin ...
0
votes
1
answer
220
views
Grep inserting file names from working directory
I have script to do a few jobs:
list config XMLs.
list which of those XMLs have a match.
show what that match is.
JENKINS_HOME=/var/lib/jenkins
_ALL_JOBS=$( find $JENKINS_HOME/jobs -name config.xml ...