[pkg-cryptsetup-devel] Bug#576186: Bug#576186: cryptsetup: Setting up crypto device on Startup takes too long w/ ext3

Jonas Meurer jonas at freesources.org
Wed Jun 16 19:46:42 UTC 2010


hey,

On 01/04/2010 hvx at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20100616/76e5cff3/attachment.pgp>


More information about the pkg-cryptsetup-devel mailing list