I have a similar problem.

I have an ext4 file system sitting on luks (via /dev/mapper). It's an
external disk, connected via USB.

I copy files to this file system. I then check the files using md5sum.
Files which are larger than a gigabyte are almost always damaged.

I ran fsck and it detected errors. I fixed the errors and copied the
files again. Again there were errors. The damaged files are the correct
size and have the correct metadata but fail an md5 check.

Some of these files are movies and I would spot a small fault when I
played back. Some are zipped and will fail the gzip --test option. I
used a diference viewer on one large XML file and could see a small bit
of corruption a large way into the file.

I have tried this a number of times and the files almost always fail to
be copied correctly, but not in a repeatable way. Some smaller files
were also damaged, but on being copied again, did copy across correctly.

The source for the files is also ext4 sitting on /dev/mapper/ block. It
also uses LUKS encryption and is exactly the same type of disk.

I use Ubuntu 10.10, Linux 2.6.35-28-generic #50-Ubuntu SMP Fri Mar 18
19:00:26 UTC 2011 i686 GNU/Linux

Mount:

mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro,commit=0)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /proc/fs/vmblock/mountPoint type vmblock (rw)
/dev/sdb1 on /home/charlie type crypt (noatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc 
(rw,noexec,nosuid,nodev)
/dev/mapper/HomeBackup on /media/HomeBackup type ext4 (rw)
/dev/mapper/toshArchive on /media/Arkive type ext4 (rw)
/dev/mapper/floatingArchive on /media/floatingArchive type ext4 (rw)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/590681

Title:
  EXT4 Files corruption

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to