Questions tagged [corruption]

215 questions
9
votes
2 answers

How to make a Linux software RAID1 detect disc corruption?

This is one of the nightmare days: A virtualized server running on a Linux SW-RAID1 runs a VM that exhibits random segfaults in seemingly random codechunks. While debugging I find that a file gives different md5sums on each and every run. Digging…
Paul
  • 1,890
  • 3
  • 18
  • 24
9
votes
3 answers

Causes of sudden massive filesystem damage? ("root inode is not a directory")

I have a laptop running Maverick (very happily until yesterday), with a Patriot Torx SSD; LUKS encryption of the whole partition; one lvm physical volume on top of that; then home and root in ext4 logical volumes on top of that. When I tried to boot…
poolie
  • 1,155
  • 1
  • 9
  • 17
8
votes
2 answers

How to repair a broken-resized qcow2 disk image for libvirt/kvm?

Today I wanted to increase the size of a VM, so I did what I always do (have done it before): qemu-img resize diskimage.qcow2 +22GB Then the file broke and the VM does not start any more. I tried booting the VM from CD to adjust partitioning but…
Ned64
  • 283
  • 1
  • 3
  • 10
7
votes
3 answers

Chkdsk capabilities

I've used several different tools for repairing disks and have been wondering if there is a list of what exactly CHKDSK can repair? The MFT? Boot sector? Backup boot sector? Clusters? What common issues can't it fix?
Bart Silverstrim
  • 31,092
  • 9
  • 65
  • 87
7
votes
3 answers

How to cause file system corruption for test purposes?

AFAIK the reasons for file system corruption are as follows: improper shutdown (hard reset); hardware failures (bad block on disk, bad disk controller); improper startup (mounting damaged file system); kernel errors (really like to test this…
grs
  • 2,235
  • 6
  • 28
  • 36
6
votes
2 answers

zfs checksum error in raidz1 vdev but not in disk

I am backing up data stored in a zpool consisting of a single raidz vdev with 2 hard disks. During this operation, I got checksum errors, and now the status looks as follows: pool: tmp_zpool state: ONLINE status: One or more devices has…
Matei David
  • 231
  • 2
  • 6
6
votes
2 answers

Why did I experience checksum errors with a ZFS filesystem on an ESXi RDM?

I have a VMware ESXi 4.1 server which I recently added 2x1TB SATA drives to. This machine runs a NexentaStor Community VM which hosts ZFS filesystems. Before adding the new drives, all the ZFS zpools resided inside virtual diska (VMDK files) which…
Josh
  • 9,001
  • 27
  • 78
  • 124
6
votes
3 answers

How do I diagnose network corruption on an Internet path?

I run a few hosts on network A that make requests to servers (which I don't own) on network B, somewhere across the Internet. Unfortunately, many of these requests get corrupted. If I make the requests over unencrypted HTTP, I get strange errors…
Andrew
  • 181
  • 1
  • 5
6
votes
5 answers

Weird file corruption when using FTP. Any theories?

Sometimes when I'm uploading a large number of small files via FTP, some of the files' contents will be replaced with FTP control messages. For example, after uploading a website I'll notice that an image isn't displaying. When I examine the image…
Metaphile
  • 161
  • 1
  • 1
  • 3
6
votes
2 answers

Diagnosing cause of orphaned inodes on Linux, busy MySQL?

One of our servers recently experienced some file system corruption and our root file system was automatically remounted as read only. The steps I took to recover were: attempted to remount > mount -n -o remount / this failed rebooted the…
BenM
  • 748
  • 1
  • 8
  • 13
5
votes
1 answer

File System Corruption in AWS Storage Gateway Volume

Has anyone had to deal with a corrupt file system on a storage gateway volume? One of my volumes is now telling me that it's corrupted or unreadable. I've tried running a chkdsk /r on it and it took days (10TB volume). Once completed I got the same…
blsub6
  • 1,101
  • 6
  • 25
  • 44
5
votes
1 answer

Active Directory Users - All Attributes Suddenly Blank

We had an instance yesterday where approximately 130 of our well over 5,000 user objects suddenly became corrupted. Every attribute you can possible set with the exception of sAMAccountName and cn were wiped clean including their password despite…
5
votes
5 answers

Remove Corrupt File With Bad File Name Linux

Last night I had a Dovecot server lock up and it corrupted a file in a user's maildir. The file name now has special characters in it and can't be deleted, all command line tools say the file cannot be found, even though it shows up via the LS…
TriadicTech
  • 448
  • 2
  • 5
  • 14
5
votes
7 answers

Windows explorer (filename) string corruption when using remote desktop?

Has anyone else experienced this problem? While browsing folders in explorer over a remote desktop connection, sometimes the file name strings will get corrupted, so they display incorrectly in windows explorer. Remote desktop (or terminal services)…
Triynko
  • 3,408
  • 6
  • 30
  • 30
5
votes
1 answer

Corrupt files' contents, while FS is OK

Looks like my USB HDD is old and corrupted: rsync: read errors mapping "path/to/file.jpg": Input/output error (5) Syslog: kernel: [58927.940676] sd 6:0:0:0: [sdb] Unhandled sense code kernel: [58927.940683] sd 6:0:0:0: [sdb] Result:…
kolypto
  • 10,738
  • 12
  • 51
  • 66
1
2
3
14 15