Questions tagged [corruption]

215 questions
21
votes
1 answer

Unable to resolve data corruption warning with fsck

In order to create a contiguous space for my file system to grow, I created a new EFI System partition at sda1 so that I can migrate it from the current partition at sda5. The move itself has been successful except for a warning which says: kernel:…
Question Overflow
  • 2,023
  • 7
  • 28
  • 44
19
votes
13 answers

Error 0x80070570: How to delete corrupted and unreadable file?

On my system partition I have a folder which cannot be deleted. This folder has been created by restoring files from an Acronis TrueImage backup. The error message says: Error 0x80070570: The file or directory is corrupted and unreadable. I…
0xA3
  • 243
  • 1
  • 2
  • 9
18
votes
3 answers

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 was a power outage and now there is something…
Yehosef
  • 1,245
  • 2
  • 9
  • 10
17
votes
7 answers

How can I force a MySQL table to become corrupted?

I have written a simple Nagios plugin that calls mysqlcheck (which checks for corrupted tables) and will give a warning if any are corrupt. However none of my tables are corrupt now. So I'm not 100% sure that my plugin is working fine. I have a dev…
Amandasaurus
  • 30,211
  • 62
  • 184
  • 246
17
votes
6 answers

Check for hard disk errors / signs of failure on CentOS Server

What's the best way to check for HDD errors and early signs of failure on CentOS?
inac
  • 509
  • 2
  • 9
  • 20
14
votes
4 answers

Mercurial repository corruption

This is somewhat related to this question but is a different question. We have a central Hg repository, served to users via SSH and mercurial-server. We have a number of Mac, Linux and Windows clients connecting to it. It has happened twice now that…
bobinabottle
  • 569
  • 2
  • 7
  • 19
14
votes
4 answers

What *exactly* gets screwed when I kill -9 or pull the power?

Set-Up I've been a programmer for quite some time now but I'm still a bit fuzzy on deep, internal stuff. Now. I am well aware that it's not a good idea to either: kill -9 a process (bad) spontaneously pull the power plug on a running computer or…
Mike
  • 425
  • 1
  • 4
  • 11
13
votes
5 answers

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 on Server 2016 for the copied volume, and then use…
Dale Mahalko
  • 725
  • 1
  • 6
  • 16
13
votes
4 answers

How to store data on a machine whose power gets cut at random

I have a virtual machine (Debian) running on a physical machine host. The virtual machine acts as a buffer for data that it frequently receives over the local network (the period for this data is 0.5s, so a fairly high throughput). Any data received…
Sevas
  • 249
  • 1
  • 6
12
votes
5 answers

How to fix corrupt packet error for with rsync for (relatively) large files?

Trying to update files on a server, with the rsync command: rsync -ravq -e "ssh -o ConnectTimeout=2 -o ServerAliveInterval=2 -ServerAliveCountMax=2" --delete ./local_dir user@$SERVER:/dest_dir corrupt packet errors keep getting thrown,…
Juan Carlos Coto
  • 677
  • 2
  • 6
  • 13
11
votes
2 answers

Making SD card corruption-proof

My embedded linux device uses an SD card for saving certain diagnostics data, far too copious for internal flash. The problem is if the device is switched off unexpectedly, the filesystem (FAT32) on the card is corrupted. There is no way to prevent…
SF.
  • 277
  • 3
  • 9
11
votes
2 answers

Prevent data corruption on ext4/Linux drive on power loss

I have some embedded boards running American Megatrends bios with embedded linux as the OS. The problem I have is that the industrial flash ide's will be corrupted on power loss. I have them formatted as ext4. Whenever this happens, I can usually…
Jonathan Henson
  • 889
  • 2
  • 10
  • 16
10
votes
4 answers

nginx + fastCGI + Django - getting data corruption in the responses sent to the client

I am running Django behind nginx using FastCGI. I have discovered that in some of the responses sent to the client, random data corruption is occurring in the middle of the responses (might be a couple hundred bytes or so in the middle). At this…
glenc
  • 263
  • 1
  • 7
10
votes
2 answers

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 way to make Linux just automatically reboot when…
user541686
  • 427
  • 1
  • 6
  • 14
9
votes
3 answers

How to corrupt a file system

I am going to be testing 'xfs_repair' on some large file systems ( around 50 TB ) as in the past the memory usage is high. While I could test the program only on file systems which were correct it would be good to test them on a corrupt system. So…
James
  • 2,212
  • 1
  • 13
  • 19
1
2 3
14 15