Hi.
Have a problem that i need som help with: 1. Have multipple raids working in a encrypted filesystem in CentOS 5.4 (i386): script file, crypt.sh
modprobe cryptoloop losetup -e aes /dev/loop0 /dev/md0 (inserting password here) then run mount -t ext3 /dev/loop0 /mnt/raid5 Have been using this in CentOS for a long time and works like a charm.
2. Raids is now moved to another server with ubuntu server 9.10 (64bit) Raid is detected fine and working.
Do the same thing again and get: sudo modprobe cryptoloop (ok) sudo losetup -e aes /dev/loop0 /dev/md0 (ok) sudo mount -t ext3 /dev/loop0 /mnt/raid5 (failes with the following msg) mount: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so
ubuntu: cat /proc/crypto |grep aes name : ecb(aes) driver : ecb(aes-asm) name : cbc(aes) driver : cbc(aes-asm) name : cbc(aes) driver : cbc(aes-asm) name : aes driver : aes-asm module : aes_x86_64 name : aes driver : aes-generic module : aes_generic
Is there compatible issues here? Can it be that the old server was using i386 arch and the new is 64bit? losetup version differs?
Any insight is appreciated.