Hi! I'm experiencing data corruption in the following setup: 1. mdadm --create /dev/md0 -n3 -lraid5 /dev/hda1 /dev/hdc1 /dev/hde1 2. cryptsetup -c aes-cbc-essiva:sha256 luksFormat /dev/md0 mykey 3. cryptsetup -d mykey luksOpen /dev/md0 cryptvol 4. pvcreate /dev/mapper/cryptvol 5. vgcreate vg0 /dev/cryptvol 6. lvcreate -n root -L10G vg0 7. mkreiserfs -q /dev/vg0/root 8. mkdir /.newroot; mount /dev/vg0/root /.newroot 9. mkdir /.realroot; mount -o bind / /.realroot 10. tar cf - -C /.realroot|tar xvpf - -C /.newroot My rootfilesystem has ~4.8GB of data. After copying 2-3GB of the root-filesystem's data i'm starting to get warnings from ReiserFS about data corruptions (I don't have the exact messages available; they're probably not interesting anyway). It usually happens when tar is extracting an a linux kernel build tree. I've also got a second LVM volume in that volume group. While copying the root-filesystem onto the new LVM volume ("root") i also copied over 100GB+ worth of data (mainly mp3s and 15mb rar files ;) onto another LVM volume in the same group. No data corruption occured on that volume; at least none that I'm aware of. After seeing these messages about the corruptions on the new root-filesystem I recreated it from scratch and started to copy over things once again. It keeps getting corrupt! What's going on? Is anyone investigating this? There's thread from May 2006 with a similar (same?) issue here: http://article.gmane.org/gmane.linux.kernel.device-mapper.dm-crypt/1668 Previously i was running both raid1/dm-crypt/lvm/reiserfs and raid0/dm-crypt/lvm/reiserfs with no problems (again; none that i know of). If it's of any help; * Two of the IDE drives involved in my raid5 setup are connected to the on-board IDE channels (nForce2 chipset) and the third on a Sil0680 PCI card). * The RAID5 volume was rebuilding during the copying * LVM and RAID5 support is built into the kernel. * I'm running Gentoo; CFLAGS are -O2 -march=pentium-pro * Kernel compiled with high-mem support (although the machine currently has less than 1GB of RAM) --------------------------------------------------------------------- dm-crypt mailing list - http://www.saout.de/misc/dm-crypt/ To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx For additional commands, e-mail: dm-crypt-help@xxxxxxxx