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.

2
votes
0answers
34 views

Why do my software RAID1 superblocks keep getting corrupted and how can I prevent this?

How might I be repeatedly corrupting my superblocks on RAID1 I have had two occasions in the past six months of RAID1 root arrays becoming unusable because of problems with the superblock. ...
0
votes
0answers
34 views

How to use read-only permissions to prevent corruption on a writeable filesystem?

I'm developing an embedded Buildroot OS for the Raspberry Pi. This system will be turned off by simply removing power (there will be no shutdown timer), therefore it must be able to handle poweroff ...
4
votes
1answer
34 views

gdisk, make a non-permanent fix to a corrupted GPT table

My laptop is unable to boot. So, I run Ubuntu 18.04 live from a bootable USB. It didn't automatically mount the 500 GB hard disk /dev/sda, which uses GPT. lsblk shows only the disk, not the ...
0
votes
0answers
20 views

Why is my png image data disappearing?

I've been creating a few PNG images with some maps in the last days (using R). After the images are finished, I move them to a separate folder labeled "ok", so I don't get the risk of overwriting them ...
2
votes
1answer
34 views

File data lost after rsync copy

I made a backup of a directory with some directories inside, using rsync -aPv source/ dest. It did not output error messages, neither returned a failure status, and progressed through to the end. It ...
0
votes
1answer
22 views

badblocks fails to spot corrupting disk controller

I have file corruption problem on a HDD (the SDD in the same computer works fine): for i in {1..10}; do dd if=/dev/zero of=zeroes_$i.dat bs=512 count=4M done md5sum zeroes_* yields the correct ...
0
votes
1answer
213 views

What does dd write, when it encounters a input/output error?

I have a drive that's on the verge of failing (C5 a C6 are triggered) so I decided to make another backup while I still can. For that, I'm using dd to another drive of the exact same model. As ...
0
votes
0answers
173 views

Can’t write to btrfs volume (forced readonly)

Since today, when I try to write moderate amounts of data (MB range) to the btrfs volume on my external hard drive, the volume switches to read-only, interrupting the operation. The volume is very ...
2
votes
1answer
299 views

Ubuntu 18.04 VM in emergency/maintenance mode due to failed corrupted raided disk

I have a VM which has an attached raided device with fstab entry: /dev/md127 /mnt/blah ext4 nofail 0 2 The raided disks are corrupted and during startup the unit entered emergency/maintence mode, ...
1
vote
0answers
41 views

Usb stick got corrupted after plugging it to a windows PC

I'm having a very strange problem. I have a flash drive which is formatted as FAT32. I copied a file to the flash drive and lend it to a friend, who plugged it to his windows PC. The PC did not ...
2
votes
1answer
67 views

Corruption on BCache uppon Kernel Update/Upgrade

After using a write-around bcache on the root device of an old laptop for more than a year (HD + SD card), I finally found out that some severe filesystem corruptions I was facing -- which lead me to ...
1
vote
0answers
200 views

input/output error using scp with external HD [closed]

I'm transferring large batch of files from a external HD via scp, between a raspberry pi and my desktop. The external HD is formatted as exFAT. Looking back, many of the files contained an input/...
0
votes
0answers
47 views

SD card corruption detection

Is there any way I can detect the SD card corruption at run time? I have a situation where in firmware upgrade is affected because of SD card issue, however it will be known only after the upgrade ...
0
votes
1answer
35 views

Mac OS SSD failure/corruption

I was trying out new OS on my Macbook, now I started to install elementary on my primary drive and force quit the installation in middle.. which resulted in bad GPT partition. Now, when I contacted ...
1
vote
0answers
30 views

File on SD card does not exists after reboot

I have a weired scenario on a Production unit. There is a SD card on the unit. I can create a file in the SD card and it shows that the newly created file exists there. I can do read/write operation ...
1
vote
3answers
535 views

In ddrescue, should the target drive be formatted the same way as the damaged drive?

Friends: I have 3 brief questions about ddrescue. This is the operation that I want to run: sudo ddrescue -f -n -v -v -v -v /dev/sdi /dev/sdh RescueHD10.log For me, the output drive "/dev/sdh", is ...
1
vote
1answer
560 views

Corrupted ntfs volume mounting problem

I have a 2TB Seagate EHDD. I was working fine before. But for sometime it is not mounting in windows and linux. Windows hags up while i plug the HDD. I tried it with linux, and it shows some mounting ...
1
vote
1answer
4k views

[Firmware Bug]: the BIOS has corrupted hw-PMU resources and CentOS 7 not initializing

So I was on my desktop computer as usual, and then this happens out of nowhere: For the little time that I've researched about the error, the first message [Firmware Bug]: the BIOS has corrupted hw-...
1
vote
0answers
55 views

How to detect a (possibly corrupt) hard disk? [closed]

I have been stupid and impatient and removed the usb connection between my pc and an external hard disk when I shouldn't have and now ubuntu cannot detect the HD anymore. Before this, ubuntu always ...
0
votes
0answers
283 views

UBIFS going into Read only mode

I have a customer unit having UBIFS file system on it. Unit is up and running fine. The unit under goes a test of power cycling (AC mode-Battery mode- AC mode). At some point of time the unit(UBIFS ...
2
votes
2answers
60 views

I/O errors and undeletable directories

For some unknown reason, there are 2 directories I can't delete. First directory called sw.old is empty and can be deleted only by rm, as rmdir won't recognize it. However, even after rm, it still ...
1
vote
1answer
275 views

How to delete a directory entry (file) that has no inode?

It must be one of the oddities I cannot understand, that using chromium browser, from time to time yields me an inode-less file named Preferences. If I do this in the terminal: $> ls -i ~/.config/...
0
votes
1answer
58 views

How to use find for finding and deleting corrupted files?

After I recovered a huge amount of files with Photorec and TestDisk, I tried opening some files and most cannot be opened, for which I assume they're just partially recovered. That part of my HD was ...
3
votes
0answers
327 views

Do rsync --checksum and diff usually have different outputs or is my hdd broken?

I set up a NanoPi Neo 2 with OpenMediaVault (Debian Jessie) as its OS and have an hdd attached to it (the OS is on an SD card). When I now copy my data from my external hard drive onto my system with ...
0
votes
2answers
443 views

Merge possibly truncated gzipped log files

I have multiple log files from each day that I need to merge together. Each comes from a different server. The job that puts them there sometimes gets interrupted and files get truncated. In that ...
1
vote
0answers
128 views

kbuildsycoca4 issues after upgrading from Centos 7.3 to 7.4

I've taken over supporting a number of users on Centos desktops. I recently upgraded from Centos 7.3 to 7.4, after the upgrade when the program okular is run from the command line we get the ...
2
votes
1answer
852 views

Reinstalling only packages with missing or corrupt files on a non-running system?

1st. Thanks in advance. This is somewhat like # 216697: Reinstalling packages with missing/corrupt files except in that person's situation, after recovery, the system still worked. Mine does not. Can'...
0
votes
2answers
163 views

Corrupting the system by completely filling the `/` [closed]

Is it possible to corrupt a RHEL7 system (specifically an XFS filesystem) by completely filling it with data? I can imagine bad things happening if disk writes fill to complete but I would also hope ...
1
vote
1answer
46 views

lshw says I'm using proprietary driver even though I reinstalled my OS to revert back to nouveau

I was using the amdgpu-pro driver for a while on my (incompatible) elementaryOS 0.4.1 Loki computer before it bricked my machine and I had to reinstall in an attempt to revert back to the Nouveau ...
0
votes
1answer
161 views

Is using rsync safe to source files if they being updated?

I'm trying to determine if rsync can possibly corrupt source data during a copy. I understand that the if the source file is being modified, deleted, renamed, etc, rsync may produce a corrupted ...
0
votes
1answer
93 views

rm -rf left an undeleteable directory; how can I remove it?

I just rm -rfd some trash (long story short, don't use Unreal and Git, it breaks things). Now I have a file that ls -Al on Bash lists like this: d????????? ? ? ? ? ? old-folder-name ...
2
votes
2answers
2k views

How is memory corruption handled by Linux when the process terminates?

There are many questions on Stack Overflow asking about how a system handles memory leaks and what happens on abnormal termination. Examples: https://stackoverflow.com/questions/6727383/dynamically-...
8
votes
4answers
2k views

How to debug: tar: A lone zero block

How to debug this? This issue has suddenly appeared within the last couple of days. All backups of a website are corrupted. If the backup is just left as tar, there are no problems, but as soon the ...
0
votes
0answers
2k views

How to repair a severely damaged ext4 partition?

I have a SDCard that has a ext4 partition that was badly damaged, if I try to mount, it outputs: mount: mount /dev/mmcblk0p8 on /media failed: Stale file handle This the superblock information: ...
1
vote
0answers
603 views

Corrupt ext4 file system

I have a RAID 1 (hardware) array, where the system crashed, and I removed the hard drives. It is my understanding that a RAID 1 drive should work as an individual drive, as the RAID data is stored at ...
5
votes
3answers
429 views

I have a file I cannot delete after a file mv operation was interrupted

I was moving a file with mv but the operation got interrupted. Now I am left with a file I cannot delete on an external NTFS drive. I was moving it from an ext4. rm file.to.delete rm: cannot remove ...
2
votes
1answer
265 views

Generate list of rsync errors — after the fact

I'm in the process of salvaging what I can from an external hard drive. My Macbook can no longer read the disk at all, so I have the corrupted drive plugged into an old Linux notebook, and I'm copying ...
2
votes
0answers
172 views

ddrescue a drive

Background: I have attempted to rescue a drive which seems to have corruptions using the following commands: ddrescue --no-split /dev/hda1 imagefile logfile ddrescue --direct --retry-passes=3 /dev/...
3
votes
1answer
1k views

rm -fr fails to remove directory due to “Is a directory” error

Recently noticed that one of my CentOS NFS clients have a directory which looks somewhat corrupted: CentOS release 6.3 (Final) [root@LG-B8A-LNX ~]# ls -lathr / ls: cannot access /zebra: No such file ...
3
votes
1answer
399 views

Corrupt Filesystem after Hibernation

After each hibernation process I get a corrupted root filesystem. My setup is a LUKS encrypted root and swap partition on LVM. I use a GPG encrypted key for the root filesystem and a unencrypted key ...
1
vote
1answer
112 views

Help fixing problem drive

I have a 3TB WD drive that had a ZFS pool with another drive making a single 6TB partition. That other drive failed and corrupted the data on this drive, I am trying to recover this drive, not the ...
0
votes
2answers
543 views

When scrolling through history in cygwin terminal window line gets garbled

I'm using Cygwin 64-bits, up-to-date (for today) on Windows 7; and in my terminal window I either work on the local machine or ssh into some other machine (Linux). Now, sometimes, when I scroll back ...
3
votes
1answer
403 views

LVM Volume Group MetaData Corruption - Please Help

I have a server that was set up using LVM. It ran for years just fine with out issue until about 10 days ago. When I tried to log into it, the server had crashed. When we look at the server using a ...
0
votes
1answer
1k views

dpkg format file is corrupt

I'm live booting a fresh install of Bodhi Linux and upon my first attempt at using apt-get I'm getting dpkg: error: corrupt info database format file '/var/lib/dpkg/info/format's E: Sub-process /usr/...
-1
votes
1answer
666 views

Corrupt ext4 filesystem after e2image interrupted

I have a ~450 gigabyte ext4 filesystem, located at /dev/sda5 on my computer. The partition it resided in, however, was about a gigabyte bigger. So I used the command e2image -ra -p -O XXXX to move the ...
1
vote
1answer
452 views

No such file or directory for files with accented characters

I am just trying to salvage files off the disk I pulled from a dying Maxtor Shared Storage enclosure (failed to come back up after powering it off, presumably because the OS image on the disk got ...
1
vote
1answer
153 views

Audio files altered by a bash command renaming them

Today I submit a case of an unexpected consequence of a shell command on some audio files that I do not understand at all. Here are the facts: My OS is ArchLinux, the windows manager is Awesome and ...
5
votes
2answers
2k views

Launching Windows corrupts ext4 partitions

I have been using a Windows 10, Arch Linux, and Ubuntu triple boot for the last year without any problems. However, last week something weird started to happen. First, let me give the output of fdisk -...
1
vote
0answers
32 views

why is the memory card not functioning properly?

I have a 32 GB memory card (SD card) which I am using via card reader. I have formatted it as fat32 but it is not working. The memory card isn't running on music systems. Please look at the error as ...
5
votes
1answer
803 views

Preventing Filesystem Corruption in Linux Embedded System

I'm working on an embedded system these days. It's needed to power off without the proper shutdown. We are thinking about Aufs like read-only file system. But the problem is there are some updatable ...