Benjamin Sobotta wrote: > I set up a software RAID1 with two SATA disks. /home resides on the raid. > This > used to work great for month. At boot the machine would test the raid and > start it. Great! > 2 days ago however I put loop-AES on top of it in order to encrypt my home > directory. Since then it still finds the raid at startup, however, doesn't > start it anymore. (displays "skipping"). I always have to start by hand via > "raidstart /dev/md0". Then it works fine. > Can someone tell me why it stopped to start automatically - or even better > how > to get it back to work?!
The raid configuration (as defined in the raidtab) gets stored in a superblock on each disk. If the partitiontype is fd, linux reads the superblock at boot and automatically starts the array. Since you have now encrypted the whole device, linux can't read the superblock at boot. raidstart works, because it reads /etc/raidtab and sets up the array. You need to rewrite the superblock to all devices in your array. I *think* this can be done by doing mkraid again. But please backup your data before trying out. Perhaps mdmam can do this in a more sane way. Christoph -- echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list