On 30/07/2008 Elmar Hoffman wrote: > luksOpen fails with the following error: > > # cryptsetup luksOpen /dev/sdc foo || echo $? > Command failed: Can not access device > 241 > > The device does exist and isLuks and luksDump do work as expected. > After downgrade to 2:1.0.5-2 luksOpen does work again.
Hello Elmar, Did you use cryptsetup 2:1.0.5-2 or a more recent version before you upgraded to 2:1.0.6-4? Could you try version 2:1.0.6-1 from [1]? Are you sure that /dev/sdc is the device in question, and that you really want to luksopen the device directly, not only a partition, i.e. /dev/sdc1? Did you verify that the device is not mapped already? Please provide the output of the following commands: # /lib/udev/vol_id /dev/sdc # cryptsetup luksDump /dev/sdc # strace cryptsetup luksOpen /dev/sdc foo 2>&1 greetings, jonas [1] http://packages.debian.org/lenny/i386/cryptsetup/download
signature.asc
Description: Digital signature