hey, On 01/04/2010 h...@divara.de wrote: > Mounting a 250gb crypto device from /etc/mtab takes almost one minute at > startup with almost no harddrive activity. This problem startet to occur > when switching from JFS to ext3. > > /etc/crypttab: > # <target name> <source device> <key file> <options> > cryptofs /dev/sda3 none > check,tries=3,cipher=aes-cbc-essiv:sha256 > > /var/log/boot: (see the timestamps) > Thu Apr 1 11:09:57 2010: Starting early crypto disks...cryptofs (starting). > Thu Apr 1 11:09:57 2010: Enter passphrase to unlock the disk /dev/sda3 > (cryptofs): > Thu Apr 1 11:10:50 2010: done. > > In order to check whether using so much time is normal, I bought another > harddisk of the same type and mirrored my system to this new disk using > the "dd" command. Mounting this disk (via usb) when the system is > startet up already takes less then 2 seconds. > > Therefore i believe that some bug is causing cryptsetup to wait 50 > seconds before doing something sensible.
i cannot imagine that this is related to the filesystem at all. dm-crypt doesn't mind the content of the encrypted device. do you still remember the cryptsetup version in use when you formated the encrypted device? changes to the iteration time in PBKDF2 password processing might be the reason here. milan, what do you think about this issue? greetings, jonas
signature.asc
Description: Digital signature