Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

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
95 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
90 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
151 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
37 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
35 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
128 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
39 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
32 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
26 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 ...
0
votes
0answers
14 views

ecryptfs mounted twice - wil this cause problems?

I have a setup in which I have a small root partition (~30 GB) and another partition that I've called my "data_partition" (The rest of the disk). Items that are traditionally placed under the root ...
1
vote
3answers
412 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
475 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
3k 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
54 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
256 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 ...
3
votes
2answers
51 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
260 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
53 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
317 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
384 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
119 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
743 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
139 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
139 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
83 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
1k 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-...
9
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
569 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
392 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 ...
3
votes
1answer
238 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 ...
3
votes
0answers
163 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
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 ...
4
votes
1answer
369 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
88 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
510 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
395 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
641 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
434 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
147 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
31 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
751 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 ...
0
votes
0answers
144 views

Potential for data corruption in rsync through daemon and cron job between two servers both ways

I have set up two servers to synchronise using rsync daemons and cron job every 5 minutes. Server A has a daemon that makes a folder available via alias. Server B has a daemon that makes a folder (...
1
vote
1answer
1k views

How to explain this? Superblock corrupt in SSD

I got a file system corruption from a sudden power loss. During boot, it reported following error. error: unknown filesystem. Entering rescue mode... grub rescue> _" The board is an Intel ...
1
vote
1answer
121 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
3answers
1k views

How to delete unknown file that doesn't have proper permissions

My co-worker sent me a theme in a tar.gz file and I tried unzipping it using the archive manager GUI as I usually do for any kind of zipped file. However, it produced a corrupt file/directory that I ...