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.

learn more… | top users | synonyms

0
votes
0answers
5 views

Installed mint 17 onto troubled windows 8.1 wasn't given option to install alongside

Quick background: Asus notebook 8.1 installed dropped and windows became grueling slow to the point couldn't get it fully booted. Would hang on login. Attempted all I could find and decided to see if ...
1
vote
2answers
46 views

Getting list of corrupted file from folder and its sub folder

I have directory say folder which has sub-folders according to date like 01, 02, 03 and so on and each sub-folder has four directories called test1, test2, test3, test4 and all this directory contain ...
15
votes
1answer
675 views

create a corrupted FAT file system

I have an application which will search for a corrupted FAT file system and repair it. For testing the application I will need a corrupted file system. What is a good and reproducible way for ...
0
votes
1answer
26 views

How to recover a node/content from a tarfile that's been overwritten

Disclaimer: I'm not very good at writing questions, and mine is a very specific scenario. So I'm just going to jump straight into the situation: I was browsing my filesystem, and somehow managed to ...
2
votes
1answer
61 views

Disappearance of files in all ext4 filesystems of a Debian server

Apparently the disappearance of files and directories occurred in all ext4 filesystems, including files and directories usually "read-only" in /var and /usr, like binaries installed for gcc, and ...
2
votes
0answers
63 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 ...
1
vote
1answer
49 views

ddrescue image too large

3Tb HDD is corrupt. I tried using ddrescue to create an image and a logfile on another 3TB HDD (only one I had). I got a write error after about 2.7T (actual capacity of the 3TB). Image file and log ...
2
votes
1answer
103 views

ZFS disabling sync writes on dataset

I have a freenas box that I use to back ESX VMs to but don't have a SLOG yet and thus speed is poor due to ESX pushing sync writes to the NFS store on my freenas box. If I created a separate ...
0
votes
1answer
42 views

Recover local corrupted file

I sorry if this has been asked before but I couldn't find an answer looking through. I have a file which became corrupted on my computer and I need it back if at all possible. I am using Linux Mint ...
0
votes
2answers
509 views

Cannot format a corrupted 32Gb SD card

I cannot format a corrupted Sandisk SDHC ULTRA 32Gb micro card. So I used gparted in an Ubuntu system. I deleted the partition (/dev/sdf1), recreated it and formatted it in fat32. It still keeps its ...
17
votes
6answers
2k views

How to corrupt an archive file in a controlled way?

I wrote a function that checks for a corrupted archive using a CRC checksum. To test it, I just opened the archive and scrambled the content with a hex editor. The problem is that I do not believe ...
0
votes
0answers
45 views

My ext4 partition is corruption-prone possibly because of suspend

I'm using an encrypted ext4 main partition on a Lenovo i7 laptop running Ubuntu 14.04 LTS, currently using the 3.13.0-53-generic x86_64 kernel. After running for multiple weeks without shutting down ...
1
vote
0answers
39 views

How to recover ext2 if all superblocks are gone? [closed]

I have a 120 GB hard drive that consisted of an ext2 partition (which occupied all but about 1GB of the disk) and a swap partition. I had mounted it successfully and was browsing files, before I ...
0
votes
0answers
108 views

I can fix/repair small damaged tar.gz files using fixgz but it doesn't work on bigger files

The title tells it. I have some damaged .tar.gz files, most of them are pretty small (smaller than 1-2gb) but 4 of them are bigger and fixgz cant fix them, when i run fixgz for those big files, it ...
1
vote
0answers
11 views

How to recover data after memory module errors [duplicate]

My linux PC has suffered the occasional application crash, desktop crash, and kernal panic over the last few months. I also started noticing error dialogs on login, and some parts of the desktop do ...
2
votes
4answers
384 views

Prevent file corruption

I have an application that write files into a specific directory at the FS. This system, under no circumstances, can lose a single written file. When I have some problem at the HD, like badblocks or ...
0
votes
1answer
94 views

How to fix ntfs file problem when there is now windows?

I have a "stubborn" file on an NTFS partition which refuses to be deleted. A little background on the problem... Problem happened when I was running Zim on my Linux and the system froze due to some ...
0
votes
0answers
63 views

Conceptual question about data corruption and mounting

If we have a partition /dev/sda1, and mount it to a mount point (i.e. /mnt), we can then use the files and folders under /mnt. Before changing the partition /dev/sda1 I umount /mnt, and then perform ...
1
vote
1answer
163 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 ...
0
votes
0answers
90 views

Mint 17.1 x86: font glitches: cuts off top parts of some letters

Mint 17.1 x86: font glitches. Upper parts of some letters are "cut off". It happens as I type this question in the browser. Some letters appear as "cut off", but then they are "fixed" on its own. ...
1
vote
0answers
176 views

find the cause of file corruption when copying files to a network share on an Ubuntu machine

I am copying files from my SD card to my Ubuntu server via Windows 7 using a network drive. The problem is that sometimes, 2 files out of 150, are corrupted during transfer. See here 2 example files ...
2
votes
2answers
108 views

Why can I rest assured that GNU Parted has not corrupted a single bit after shrinking my partition?

I shrunk my root partition and it seems nice. But I am thinking about overwriting now at least the most important files from the backup copy (external drive, rsync, weekly backup) in order to be sure ...
2
votes
2answers
717 views

ext4 corruption found in superblock, but filesystem can be mounted

After a crash, I've got an Ext4 filesystem (on an LVM LV) that gives the following error when running fsck.ext4 -nf: e2fsck 1.42.12 (29-Aug-2014) Corruption found in superblock. (blocks_count = 0). ...
0
votes
1answer
1k views

xfs_repair does not repair the filesystem according to xfs_repair -n

I've got a filesystem that, after a crash, is corrupted according to xfs_repair -n. As stated in the xfs_repair man page, xfs_repair -n exists with a return status 1 if corruption is detected. So I ...
0
votes
5answers
189 views

setuid (and other) permissions lost when copying / elsewhere - what to do?

I sort-of-cloned an existing Debian 7.x distro by copying the contents of the root filesystem (not the special dirs of course) to another HDD. I booted, things seem to run, but - I get some weird ...
0
votes
0answers
331 views

Repair or recover seemingly damaged partition on USB external disk

A friend brought this WD My Passport external harddrive to me to see if I could recover her files. The device is "not working" after a power outage. As per her testimony, when the device is connected ...
1
vote
0answers
74 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
2answers
511 views

Unzip error, is recovery possible?

I compressed 4 separate folders with some wedding videos (!!) a few months ago. Today I tried to unzip them, and had no problem with the last 2, but the first 2 of them show an error: ...
3
votes
0answers
505 views

Which file system (among XFS, BTRFS and EXT4 only) does provide the best data resilience to disk corruption? [closed]

Question: Given these three filesystems: XFS, BTRFS and EXT4, I'm wishing to know which does provide the best data resilience to data corruption in a setup without RAID. And, of course, why? ...
4
votes
1answer
364 views

Simulate bitrot/corrupt files (for BTRFS)

Is it possible to intentionally corrupt a file so that BTRFS will report a checksum error? I want to test a script that's supposed to find file names with checksum errors, but I don't have any corrupt ...
0
votes
1answer
235 views

Can a file be corrupted by copying from NFS to CIFS?

I have Linux RedHat 6.x, and I mounted a Windows 2008 R2 NFS share. If I copy data from my Linux machine to Windows, that doesn't seem like any harm. But if I take that file that is in my exported ...
3
votes
1answer
355 views

RAID6 scrubbing mismatch repair?

You can initiate a scrub of a mdadm array with echo 'check' > /sys/block/mdX/md/sync_action, and if a bad sector is found, it'll rewrite it automatically (from a mirror or from parity information ...
6
votes
2answers
5k views

Is there a command line method by which I can check whether a downloaded file is complete or broken?

I'm writing a script that involves downloading and manipulating a file, and I want to ensure that the file is not incomplete (due to e.g. a dropped connection) before I work on it.
1
vote
1answer
142 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
1answer
438 views

Files that do not exist, prevent me from deleting them, corrupted filesystem

Well... It's about on an OS X system (hfs+), but that's unix after all to. :p system has become unbootable, due to a filesystem error... fsck.hfsplus fails because .... ... ** Checking ...
1
vote
1answer
218 views

Recovering Mojibaked Files

I have recently been encountering several broken files whose contents got thoroughly baked in conversions between UTF-8 and ISO-Latin-1. How can I repair these files? The process that created the ...
2
votes
1answer
337 views

Recursively find and move corrupted PDFs

The Issue I was using python-skydrive to download files to my PC, and I accidentally corrupted a good amount of my PDF files. When I try to view them in Document Viewer, I get the following error ...
1
vote
0answers
1k 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 ...
9
votes
3answers
490 views

Is there a risk of data corruption if suspended laptop runs out of battery?

I often tend to just put my laptop on suspend using xfce4-power-manager, and although usually the battery is sufficiently charged up until the next time (when I plug in the charger), sometimes I ...
3
votes
0answers
194 views

Do ext(4?) filesystems intrinsically store newer data in a fashion that is more prone to corruption?

I recently had a corrupted ext4 filesystem throwing these errors: kubuntu@kubuntu:~$ sudo mount -t ext4 /dev/sdc2 c1 mount: wrong fs type, bad option, bad superblock on /dev/sdc2, missing codepage ...
4
votes
2answers
11k views

Short read while trying to open partition

On my personal home computer running Kubuntu Linux 13.04 I'm having trouble mounting a partition that is very dear to me. My backup policy is to perform a backup about monthly, so I do have a backup ...
3
votes
2answers
483 views

Static files give ever changing checksum value on Linux

When I cksum large files (150MB) they will often report different checksums on each call. $ cksum test3 1233504235 170213376 test3 $ cksum test3 825031809 170213376 test3 $ cksum test3 189847968 ...
0
votes
1answer
425 views

ZFS on Linux gets corrupted on export [closed]

Edit: I am not using Sabayon Linux anymore. I suggest to close this question. I just started experimenting with ZFS on Linux. I use Sabayon Linux with kernel 3.8. I used a whole single USB disk to ...
6
votes
1answer
994 views

Subversion: how to determine when files became corrupt

I'm using Subversion just for private synchronization between a laptop and a desktop. Recently I discovered that several ASCII files and several binary files were corrupted. Instead of the expected ...
1
vote
1answer
2k views

recover corrupted directory from ext3 partition

It's my mounted directory that I want to restore folder ostani. It contains many PHP, CSS, Javascript, etc. files. How can I access it? I use dd_rhelper to create an image and tried to fsck to repair ...
2
votes
1answer
2k views

Finding corrupted files

I have a directory that have zillions of files. As soon as I try to copy this directory, I receive a message that a file could not be copied (corrupt ?) and the copy stops. Is there any command I ...
5
votes
3answers
668 views

File size of 60.0 PB is wrong. Can deleting it cause data loss?

While backing up some data (a 200 GB home directory) with rsync, I got an I/0 error for a particular file, after which rsync continued on "normally" with its backup. The problem source file showed as ...
0
votes
2answers
291 views

Memory Stick Partially Corrupt

My memory stick has recently become partially corrupt and has slowly been getting worse. About a week ago or so I unzipped a Windows .rar archive and placed the contents unto the flash drive, I ...
2
votes
0answers
214 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 ...
2
votes
5answers
21k views

SD card corrupt and stuck at 32MB, any way to fix it?

Using the Linux area since I'm using Linux apps and utilities. My phone crashed (several times) and managed to corrupt my microSD card. It no longer appears to have partitions and shows as 32MB ...