Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [corruption]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5 votes
1 answer
300 views

Windows Data Deduplication: Determine which file/s use a given chunkfile?

Using Windows Server's data deduplication feature: Given a specific chunk file in the chunk store, is it possible to determine which file/s include that chunk? The use case here is that unreadable ...
Ned Martin's user avatar
0 votes
1 answer
166 views

Debian - How to prevent file corruption on power loss?

I have a Debian based OS, and I am creating a program that have support for upgrading itself. The program is ran on system-level as a systemd service. I have a problem when I update the software, ...
ml_kalju's user avatar
0 votes
1 answer
112 views

dd: failed to open ‘/disk1/boot1.img’: Structure needs cleaning

Executing this Command : dd if=/dev/sda1 of=/disk1/boot1.img I got this Error : dd: failed to open ‘/disk1/boot1.img’: Structure needs cleaning I tried that Command on my centos machine and got that ...
achhainsan's user avatar
1 vote
0 answers
108 views

Backup drive on Linux system keeps getting corrupt. How to troubleshoot?

My webserver (Debian BullsEye) has an internal 2TB harddrive which sole purpose is to hold a backup of the server's main HD. Every day a cronjob is started that creates a backup using rsync. But every ...
Zippy1970's user avatar
  • 279
0 votes
1 answer
227 views

Audit Log Partition keeps getting corrupted. How to prevent or boot anyway?

I am running RHEL7, and my audit log partition randomly (not often, but often enough to annoy me) gets corrupted, preventing me from booting. How can I either prevent the partition from being ...
dberm22's user avatar
  • 61
1 vote
1 answer
614 views

MySQL Corrupted After System Crash

I'm using MacOS Monterey 12.6.1 with Homebrew 3.6.6 and MariaDB 10.8.3 The OS crashed out of nowhere and rebooted itself. After the reboot I was unable to connect to the database: Can't connect to ...
Rawkon's user avatar
  • 11
2 votes
0 answers
517 views

Data corruption after dmsetup suspend, reload, resume, and re-suspend

Consider the following series of events for a device-mapper crypt target, test, holding an ext4 filesystem. These three commands swap out the crypt target's table with a new (dummy) table. This ...
forest's user avatar
  • 462
0 votes
1 answer
420 views

Ubuntu 20.04 VM Corrupted Javascript files when installing NPM packages

I'm experiencing something weird on Ubuntu server 20.04, Its virtual machine running on XCP-NG 8. I tried several versions of nodejs 14, 16, 18 but nothing solves the issue I can't even install nodejs ...
Xsmael's user avatar
  • 185
0 votes
1 answer
975 views

xfs_repair runs instantly, surely this should take some time to run?

I'm trying to troubleshoot some issues with multiple database engines crashing and logs suggesting corruption while reading from disk, so I'm running xfs_repair on a 2TB NVMe which contains the files. ...
synkyo's user avatar
  • 101
2 votes
2 answers
555 views

Is it possible to repair a ZFS snapshot by re-sending it?

Given two ZFS pools where snapshots from one are sent to the other, is it possible to automatically repair a damaged snapshot using a copy of that snapshot stored on the other pool? I'm hoping this ...
Haravikk's user avatar
  • 267
10 votes
2 answers
4k views

How can I make Linux reboot instead of remounting the filesystem as read-only?

Linux systems sometimes remount the root file system as read-only, e.g. if there's an I/O error. I have a machine that becomes useless when this happens, and I end up rebooting it manually. Is there a ...
user541686's user avatar
0 votes
1 answer
532 views

Any way to recover data from a corrupted RAID 6 array?

I have a pretty old RAID 6 array on MegaRAID 9361-8i / Windows (which has 16x 8TB HDDs). Recently, I found 2 HDDs were dead according to Megaraid Storage Manager, and replaced one of them with a new ...
e1630m's user avatar
  • 1
1 vote
1 answer
360 views

What could cause files to end up zeroed out?

A client sent us an external hard drive where at least half the files are corrupt. They are broad mix of filetypes (images, documents, etc) and there is no discernible pattern into which are corrupt. ...
user354104's user avatar
0 votes
1 answer
116 views

Raid 10 Centos 7 failure after power cut suddenly

I have 1 server that using RAID 10 software. However, after recent power failure the server no longer can boot and stuck at grub rescue. Using ls command for all device n the server does not detect ...
Alias Harun's user avatar
0 votes
1 answer
90 views

Filesystem to protect the storage medium

I'm working on an embedded system which will act as a server, the problem is the environment where it will run is so aggressive and it will suffer abrupt power interruptions. So I'm planning to mount ...
jfernandz's user avatar
2 votes
2 answers
747 views

NTFS + Windows Server Backup and detecting bitrot/silent corruption

A question has come up regarding how we deal with bitrot, and if we need to do more. We have a very simple setup; a single 4TB HDD (NTFS formatted) which is backed up to another larger HDD using ...
Incipient's user avatar
1 vote
0 answers
117 views

rsync -H with --link-dest and potential link corruption

man rsync for -H includes: "If you specify a --link-dest directory that contains hard links, the linking of the destination files against the --link-dest files can cause some paths in the ...
Gareth's user avatar
  • 31
0 votes
0 answers
337 views

Windows 10 1909 OS Corruption Preventing Further Updates

We have multiple computers on the domain which have corruption within the OS. This corruption prevents the install of updates or upgrades. I know the computers which have issues from the results of ...
RLBChrisBriant's user avatar
0 votes
1 answer
58 views

weird filesystem behavior (corruption?)

Something very weird I came across, any thoughts would be much appreciated: Some software (httrack) created a directory structure. Using my user (which also ran the software), I cannot view the ...
Joris's user avatar
  • 5,969
0 votes
2 answers
580 views

Monitor Linux Server filesystem health and suspicious activities

I run my own, small server here. The server runs on Ubuntu 18.04. There is one single HDD using LVM on a partition together with EXT4. LVM is used for taking snapshots. I also use Webmin with ...
C. Hediger's user avatar
4 votes
1 answer
124 views

USB for keeping data safe

I'm used to consider that USB transfers are safe for data, that is USB does not add level of unreliability to data storage. However, I read that USB is not always a good choice for data transfer ...
abitbol's user avatar
  • 141
1 vote
0 answers
148 views

AWS Windows 10 Error 0x80070780: The file cannot be accessed by the system

We have log files stored on one of our AWS machines, however, a significant amount of the log files have been corrupted without any clearly apparent reason. When trying to open/read/write/rename/...
rawasthi's user avatar
0 votes
1 answer
182 views

List all files with corrupt filenames recursively

I've got a Linux server with some directories and files structure on it. Apparently somehow someone uploaded a bunch of filenames, which got corrupted. Consider the following example: └── parent ├─...
QB new media's user avatar
3 votes
1 answer
3k views

Reason for EXT4 file system corruption of Hyper-V guest

We had our second corruption of an ext4 partition in a relatively short time and ext4 is supposedly very reliable. As this is a virtual machine and the host providing the resources saw no disk errors ...
Olaf Mandel's user avatar
1 vote
0 answers
20 views

Why would files appear corrupt but then be fine days later?

The Setup: Dedicated CentOS 7 web server hosting a CRM database on a company’s internal network. Everyday, the server backs up to itself and then the backups are copied offsite. The Problem: This ...
Rich Smith's user avatar
2 votes
1 answer
2k views

Recover from "FAULTED" zfs pool. "-F" option seems to be ignored

On Ubuntu, I recently started trying out ZFS on an external USB hard drive. I now seem to have a corrupted zfs pool, which probably happened simply as a result of me shutting down my computer (with ...
Pryo's user avatar
  • 685
1 vote
2 answers
943 views

How to test Snapraid data corruption?

I'm running Snapraid on my hard drives. However, I want to test it's data integrity features, to see how/if they actually work. But I don't really understand how to 'corrupt' my data. I can just ...
RazorHail's user avatar
  • 165
0 votes
1 answer
124 views

Very strange disk corruption error

I have a server, where I deleted a large file. Let's call it ~/tempfile.txt. Somehow, the deletion didn't work properly, and the disk got corrupted -- meaning, du -hs * doesn't show that file existing....
Parth Thakkar's user avatar
0 votes
1 answer
73 views

Track down multiple Mailboxes associated with a single user after a currupted database

Server is Exchange 2013 CU 22 running on Server 2012 R2. Backstory is a drive holding one of the 5 databases ran out of space and corrupted the database. I was able to use exeutil.exe to fix the ...
ADY's user avatar
  • 93
0 votes
1 answer
2k views

InnoDB recovery from datafiles

First of all, my MySQL DB and Linux skills are not so good. I spent several days searching for a solution and tried several approaches. The following approach is the one I came furthest with. My SD ...
Alexander Weber's user avatar
0 votes
1 answer
413 views

Occasional output corruption on Nginx with PHP-FPM

I've got a PHP file generating a large amount of JSON (~1.5 MB) through an Nginx server and PHP-FPM, running on macOS. Occasionally (about 2% of requests), the outputted JSON becomes corrupted. The ...
Robert's user avatar
  • 101
0 votes
0 answers
530 views

Next step when DBCC CHECKDB REPAIR_ALLOW_DATA_LOSS failes

I'm in a situation where a few Tables of a Database (MSSQL2016 - 13.0.5081.1) are corrupted (selecting data failes at some point) There is no valid backup available (the error seems to be present in ...
Cadburry's user avatar
  • 111
0 votes
0 answers
31 views

What does it mean when 24 contiguous bytes in a file are corrupted? [duplicate]

I copied 500 MB of files from one hard drive to another and four files were found to be corrupted on the destination drive, each with one section that had 24 bytes different from the source. What ...
Quinxy von Besiex's user avatar
-1 votes
1 answer
31 views

Is it possible to recover Microsoft Office files from a flash drive when they were edited and saved on the flash drive directly?

Several .docx and .xlsx documents were saved on a flash drive, edited in word and excel applications, and changes saved directly to that flash drive again. These files, when opened, now contain only ...
budgiebeaks's user avatar
1 vote
0 answers
224 views

Is it possible to relink an Inode in EXT4 with it's original filename

Ok, so foolish idiot here, trashes his postgresql data directory, right at the very moment when his backup routine is currently in the "delete old files" and "create new files" phase. As a result, Iv'...
shawty's user avatar
  • 303
0 votes
1 answer
64 views

Strange file corruptions in ext4

Recently I came in contact with what appears to be disk corruption scenarios, and I would like to understand them better. I have a build server which I work with daily. During one full build of a ...
alecov's user avatar
  • 572
3 votes
3 answers
2k views

How does SSD meta-data corruption on power-loss happen? And can I minimize it?

Note: This is a follow-up question to Is there a way to protect SSD from corruption due to power loss?. I got good info there but it basically centered in three area, "get a UPS", "get better drives",...
Yehosef's user avatar
  • 1,315
18 votes
3 answers
16k views

Is there a way to protect SSD from corruption due to power loss?

We have a group of consumer terminals that have Linux, a local web server, and PostgreSQL installed. We are getting field reports of machines with problems and upon investigation it seems as if there ...
Yehosef's user avatar
  • 1,315
0 votes
1 answer
618 views

LVM - Should I encrypt physical volumes or logical volume?

I have two hard drives and I'm about to build a backup system. Now I'm wondering which solution would be the best. I encrypt disk1 and disk2. After mounting these I create a volume group and logical ...
japs's user avatar
  • 1
13 votes
5 answers
22k views

Apparently Robocopy does not understand Windows Server 2016 deduplication. Is there a way to make it work without corrupting the volume?

Scenario: Doing a server migration from old Server 2008 R2 to new Server 2016, following this Server Fault guide: File server migration using Robocopy After Robocopy completes, enable deduplication ...
Dale Mahalko's user avatar
0 votes
1 answer
849 views

ext4 corruption leading to unbootable disk. Partition is mountable, but grub detects unknown filesystem

I'm trying to recover from a system disk corruption issue without having to reinstall the OS, which would be super-painful currently. I'm using Ubuntu 18.04, the affected partition is ext4 and on a ...
user3121424's user avatar
1 vote
0 answers
691 views

Root cause for having a number of zero bytes in regular files

We have corrupt files that contain a number of zero bytes. I wonder what the root cause could be. What I know is: All kinds of files that were recently written are affected, they contain a number of ...
Thomas Mueller's user avatar
0 votes
1 answer
1k views

Corrupt `reverse i-search` database: why and how?

I made a recording of this as it's never happened to me before and seemed pretty weird: https://asciinema.org/a/qVSUzkIX2wLia7EzCFhCYHb9Q Under which conditions would the bash completion database ...
pospi's user avatar
  • 103
1 vote
1 answer
884 views

Mapped VMDK no longer accessible - VMware ESX - recover data

At my company we have a virtual Windows 2012 R2 server running on VMware ESX. The server has 3 disks attached on different LUNs. (Disk 1 & 2 are on a smaller LUN containing multiple servers that ...
Divin3's user avatar
  • 81
2 votes
2 answers
2k views

Why isn't TCP corruption more noticeable?

First of all, apologies if this seems a somewhat simplistic question. According to this answer, TCP packets are corrupted all the time without the checksum catching it. If this happens so often, ...
dt-rush's user avatar
  • 23
5 votes
1 answer
19k views

Corruption of in-memory data detected: where does the issue lie?

We are experiencing crashes on our SSD VPSes, all working on KVM: crashes occur for different reasons; in the hurry to restore the service my team uses to reload a previous snapshot of the machine and ...
elmazzun's user avatar
  • 153
3 votes
1 answer
403 views

Does Perkeep (camlistore) have built in protection from bitrot?

Does Perkeep (PKA Camlistore) offer protection from silent corruption (eg. bitrot) of the data in its current design like what is offered in ZFS. If it does, how well does it fare when compared to ZFS?...
Timothy C. Quinn's user avatar
4 votes
2 answers
2k views

What scale of data loss or corruption do I risk if I enable the write buffer on a file server?

I have found plenty of articles online warning of risk of data loss or corruption for drives with write-buffer enabled in the event of power loss. However, I haven't found any that actually refer to ...
Cyanara's user avatar
  • 123
4 votes
4 answers
2k views

ZFS-HA pool faulted with metadata corruption

I setup the ZFS-HA following the excellent description Github (see here). After extensive testing, I rolled the setup out to production using 5x12 disks in RAIDZ3 connected to two nodes using HBA ...
Michael's user avatar
  • 290
2 votes
0 answers
86 views

Files saved to Samba share are randomly differing from originals?

I manage a small network of windows clients and a BSD file server running Samba 4.6.x. We had some odd issues which led to the discovery that when users save files to the server, about 12% of the ...
Stilez's user avatar
  • 724

1
2 3 4 5