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.

63 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
1answer
4k 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
0answers
1k views

How dangerous is "Free blocks count wrong"?

I ran fsck in read-only mode and got some errors like this : Free blocks count wrong (5597728, counted=5231480). Fix? no As stated here : Free Block Checks Free blocks are stored in the cylinder ...
3
votes
0answers
1k views

Corrupted USB Media

Hi Guys I have two identical USB Drives that behave identically wrong... After copying a bunch of files I unmounted them and it after 15mins of waiting for the write cache (while the cpu load is at ...
3
votes
0answers
464 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 ...
3
votes
1answer
677 views

LVM Volume Group MetaData Corruption – Please Help

I have a server that was set up using LVM. It ran for years just fine without 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 ...
3
votes
1answer
2k 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, ...
2
votes
0answers
22 views

Restoring data from corrupt btrfs RAID 1

I had a BTRFS RAID 1 array that I was storing my data. I had accidently reformatted as an RAID 1 using MDADM, before I noticed my error unmounted everything. Now my tree seems to be corrupted, I'm ...
2
votes
0answers
357 views

BTRFS critical (device sda): corrupt leaf after mounting on Windows with WSL2

My question is as to the correct steps to attempt a fix of my BTRFS system, the possible cause and the place to report the problem. The Story I was playing around with the new Windows Insider Build ...
2
votes
1answer
912 views

Can Ext4 journal corruption catastrophically corrupt the whole filesystem by deleting files & overwriting with FFs?

Twice in 6 months - on three Ext4 disks - one of them a Seagate that is about a year old - I have had catastrophic corruption of the filesystem. What seems to happen is that in many directories the ...
2
votes
0answers
698 views

Error reading detecting sdcard partitions

The output of lsblk is the following NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT mmcblk0 179:0 0 59.6G 0 disk -- this is the device I want to mount nvme0n1 259:0 0 238....
2
votes
0answers
251 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. ...
2
votes
2answers
1k 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 ...
2
votes
0answers
181 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
0answers
218 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/...
2
votes
1answer
876 views

DPKG Status Corrupted

My Ubuntu system has been giving me trouble whenever I try to install or uninstall or update software using apt-get. Whenever I run these commands it returns an error with regards my status file. The ...
2
votes
0answers
290 views

Disk filename corruption

Using QNX unix filesystem. The files once written with good file names in a good directory and partition get corrupted in their filenames. Some of the files remain in good shape in the same directory....
1
vote
1answer
27 views

Modify the data type from .tar file and how to recover a corrupted one

Like the original question bellow, I need to recover a corrupted tar file. But after run: file file.tgz I got this return: file.tgz: data My question is about this return above and how to change ...
1
vote
0answers
232 views

Corrupted Linux partition after move+resize job, no backup. Any advice?

TLDR: I stupidly corrupted part of my partition table after a move+resize job. I don't have a backup for the table or the data. What would you recommend to restore the partition table? I'm ready to ...
1
vote
0answers
593 views

Btrfs, checksum corruption

I have Btrfs setup on 3 disks with metadata and data in RAID1. But now I have a checksum error which it cannot recover. The checksum is the same on both copies and only differs from the expected ...
1
vote
0answers
75 views

Corrupted LUKS2 /home partition

My /dev/sdc drive got corrupted by a dual boot windows missclick. I must have corrupted the partition table as far as I know. As most fora suggest I used testdisk to analyse and rewrite the GPT and It ...
1
vote
0answers
850 views

rhel + Metadata corruption detected at xfs

due of linux electricity failure , our server crashed and reboot now server is up but we see the following messages from dmesg is it mean that OS damaged ? [33505.670070] XFS (dm-2): Unmount and ...
1
vote
2answers
151 views

FreeBSD does not boot after power loss/upgrade/ever? (ntpd issue...)

(Edit: leaving the original question for background; skip down to below the divider if you aren't interested.) My residence recently experienced a power outage. Unfortunately, as I was out at the ...
1
vote
0answers
171 views

SD card appears and dissapear after inserting it

I have a 16GB Kingston SDHC from a Canon SX40 that seems to be corrupted or has a hardware failure. Camera shows only a few photos and videos (and something that camera says it can't read). But there'...
1
vote
0answers
197 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 ...
1
vote
0answers
70 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
0answers
872 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 ...
1
vote
1answer
440 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 ...
1
vote
0answers
35 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 ...
1
vote
1answer
156 views

Intermittent screen corruption after boot

Running Arch Linux. Every now and then when it is booting (after a line has been selected in Grub), it will display some boot messages as normal, but then display something like this: I suspect it is ...
1
vote
1answer
1k views

File corruption using rsync, multiple rsync processes, moved/renamed source file

I'm encountering some file corruption when using rsync (that is, the file contents do not match the source file). I can understand the file becoming corrupt if it is being written to while being ...
1
vote
0answers
91 views

Shared NTFS partition conflict, files written under Debian gone

I have a dual-boot W7-Debian Jessie on my laptop, and a NTFS partition initially left for sharing data between OS and keeping big files. With myself getting used to Linux, rebooting to windows became ...
1
vote
1answer
440 views

How can I determine the cause of CF card corruption?

I installed qnx in my CF card and made it bootable and it was working well. However, yesterday it stopped working while my system was running. Checking the filesystem revealed that it was corrupted. ...
1
vote
0answers
2k views

Recovering files from partitions at a corrupted SD card?

I got a problem with my SD card which had got Raspbian. Everything seemed to be ok while working with the raspberry. I inserted it to my laptop running Ubuntu 12.04.4 to fetch some files. It first ...
0
votes
0answers
11 views

ddrescue with gap + combine gapped images to one

Followup to ddrescue generate mapfile on partial image after cat --generate-mode Did various attempt with ddrescue. For example: ddrescue --no-scrape --sector-size=512 --input-position=900GiB /dev/...
0
votes
0answers
46 views

Arch Linux display Xorg not function at all, but Wayland does (very poorly). Corrupted Xorg files from mirror?

Hello fellow Linux users, I recently purchased an old laptop and decided to try Arch Linux. I bought it to see just how well Arch is for a system and also due to the fact of my main PC's HDD is giving ...
0
votes
0answers
54 views

XFS and zero bytes files

I am trying to establish what has happened to my data. Before I go into the history, can anyone explan the discrepency between these two outputs; # du --si /var/media/footage/k0/09/99/88 1.6G /var/...
0
votes
2answers
77 views

Ext4-fs error dm-3

I tried to re-mount a LVM: mount /dev/vg1/lv1 /home buty I got this message: [409104.164857] EXT4-fs (dm-3): VFS: Can't find ext4 filesystem [409104.165223] EXT4-fs (dm-3): VFS: Can't find ext4 ...
0
votes
0answers
240 views

Recover unmountable btrfs (not just recover data)

as far as I recall the system was doing sone heavy io on a btrfs partition, and I pulled the power. Next time the partition is unmountable at all, also in readonly mode. I recovered important data by ...
0
votes
0answers
301 views

how to fix input/output error by moved file in usb

My friend ask me to try his usb. He says that his laptop can read the file (he use Windows). Then, I try to run the usb through Ubuntu (I have dualboot: Windows 8.1 and Ubuntu). Everything seem fine. ...
0
votes
0answers
27 views

USB Flash Disk reverts its change

I try to format my USB flash disk, but nothing works. I use GParted and after any change, it reverts this change back. For example: I rename label, apply changes, it alerts that it's completed, but ...
0
votes
0answers
175 views

Delete corrupted apfs volume when diskutil fails

I'm trying to delete an apfs volume on my MacBook but Disk Utility keeps giving the error "The chosen size is not valid for the chosen file system." I then tried booting into recovery and ...
0
votes
0answers
52 views

ZIP file not opening (corrupted)

I have been tasked with fixing a corrupted zipfile - the clue I have been given is to change its file header. I looked at the hex bytes using gHex and changed 50 4B 05 06 to 50 4B 03 04 but it's still ...
0
votes
1answer
749 views

How to fix ext4_free_inode corrupt filesystem?

I got a RPi4 with an external hard drive, it had a kernel panic ---[ end Kernel panic - not syncing: Attempted to kill init! I pulled the plug on it and on restart I'm getting a bunch of filesystem ...
0
votes
0answers
89 views

Faster way to find corrupt files on Linux

I need a rapid method to list corrupted files on my HDD. So far I tries these commands in a 6.7GiB folder before doing this on the root of the data filesystem : $ time $(which grep) -a -r . ./ 2>&...
0
votes
0answers
93 views

LM 20 Win 10 dual boot going read-only and corrupting filesystem

I've been having trouble with my dual boot (win 10/LM20) install that are just driving me crazy. Here's a summary of the diagnosis I've made so far Install windows 10 making a partition for Linux ...
0
votes
0answers
39 views

Get data from corrupt lz4 tar archive

I have a tar, that somehow got corrupt. I very much need some certs and config files I backed up using said file. Problem is, there's a corrupt folder in the archive and tar bails after hitting it. Is ...
0
votes
1answer
73 views

Delete (corrupted?) directory?

I have an Ubuntu 16.04 with a cephfs mount shared with another 2 Ubuntus. There is a folder inside the cephfs mount that won't answer to any command (ls, cd, rm, du...). So I guess it's corrupted or ...
0
votes
0answers
30 views

How to mount two devices(flashdrive) to different mount points?

I have two flash drives(/dev/sda1 and /dev/sdb1). /dev/sda1 is mounted on /mnt/RedFlashDrive while /dev/sdb1 is mounted on /mnt/TorrentDrive. When I use the command "ls /mnt" I got an error: ls: ...
0
votes
0answers
120 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 ...
0
votes
0answers
98 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 ...