Dear all, I'm trying to migrate an encrypted partition from SuSE 10.0 to Gentoo (& dmcrypt). Following all the advice in the documentation, I can mount the partition and see a _little_ bit of its contents, but it looks like some bytes are decrypted incorrectly. -> filesystem errors, and no real data can be accessed. The details are following - any idea what is happening or what I am doing wrong? Thanks a lot in advance; best, Andreas ------ 1) The SuSE 10.0 setup using the kernel modules cryptoloop and twofish: /etc/cryptotab: /dev/loop0 /dev/sda6 /home ext3 twofish256 acl,user_xattr 2) The Gentoo setup according to the docs (yes, my HD appears as hda in Gentoo and as sda in SuSE): bellini ~ # cryptsetup --readonly --cipher twofish-cbc-null -s 256 -h sha512 create crypthome /dev/hda6 ... bellini ~ # cryptsetup status crypthome /dev/mapper/crypthome is active: cipher: twofish-cbc-null keysize: 256 bits device: /dev/hda6 offset: 0 sectors size: 400291542 sectors mode: readonly Everything OK up to here. But: when I try to mount as ext3, I get errors about bad inode references in the journal (or similar). Huh? Mounting explicitly as ext2 (and ro) works. The result: bellini ~ # mount (...) /dev/mapper/crypthome on /home type ext2 (ro) bellini ~ # ls -la /home/ total 44 drwxr-xr-x 6 root root 4096 Jan 23 19:36 . drwxr-xr-x 21 root root 4096 Feb 10 02:21 .. drwxrwxr-x 26 3797 users 4096 Dec 26 13:33 daniela drwx-w---- 86 2700 users 12288 Feb 10 01:14 huettel drwx------ 2 root root 16384 Nov 29 2005 lost+found drwxrwxr-x 4 1824 root 4096 Oct 22 17:46 vmware Huh? The subdirs look OK, but I don't have such user ID's! bellini ~ # ls /home/huettel/ ls: reading directory /home/huettel/: Input/output error and a quick look into /var/log/messages gives Feb 10 14:28:01 bellini EXT2-fs warning (device dm-0): ext2_fill_super: mounting ext3 filesystem as ext2 Feb 10 14:28:23 bellini EXT2-fs error (device dm-0): ext2_check_page: bad entry in directory #9846785: inode out of bounds - offset=0, inode=166936577, rec_len=12, name_len=1 Feb 10 14:28:23 bellini EXT2-fs error (device dm-0): ext2_readdir: bad page in #9846785 Feb 10 14:28:26 bellini EXT2-fs error (device dm-0): ext2_readdir: bad page in #9846785 (...) --------------------------------------------------------------------- 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