Problems at encrypting a drive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I use a Debian testing system with a 3ware 9500S-LP4 controller on a 2.6.17 kernel.
I use the kernel module to control the raid controller.
I recently assigend two RAID5 partitions to /dev/sda1 & /dev/sda2.
The sda2 is supposed to hold an encrypted system.

When I tried to encrypt the sda2 partition, I get the following error:

sv3000:/cdrom/packages/3dm2/linux/x86# cryptsetup -c aes-cbc-essiv:sha256 -y -s256 luksFormat /dev/sda2

WARNING!
========
Daten auf /dev/sda2 werden unwiderruflich überschrieben.

Are you sure? (Type uppercase yes): YES
Enter LUKS passphrase:
Verify passphrase:
Failed to setup dm-crypt key mapping.
Check kernel for support for the aes-cbc-essiv:sha256 cipher spec and verify that /dev/sda2 contains at least 258 sectors.
Failed to write to key storage.
Aufruf fehlgeschlagen.sv3000:/cdrom/packages/3dm2/linux/x86#

messages:
Sep 19 18:42:52 sv3000 -- MARK --
Sep 19 18:57:31 sv3000 kernel: device-mapper: error adding target to table
Sep 19 18:57:31 sv3000 kernel: device-mapper: device doesn't appear to be in the dev hash table.

Any idea about the problem?

Thanks for your help


 

Some more info on the system:

cryptsetup-luks 1.0.3

sv3000:/cdrom/packages/3dm2/linux/x86#

00:09.0 RAID bus controller: 3ware Inc 9xxx-series SATA-RAID

sv3000:/cdrom/packages/3dm2/linux/x86# lsmod | grep 3w
3w_9xxx                29600  2
scsi_mod              124780  2 sd_mod,3w_9xxx

-- 
NEU: GMX DSL Sofort-Start-Set - blitzschnell ins Internet!
Echte DSL-Flatrate ab 0,- Euro* http://www.gmx.net/de/go/dsl

---------------------------------------------------------------------
dm-crypt mailing list - http://www.saout.de/misc/dm-crypt/
To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx
For additional commands, e-mail: dm-crypt-help@xxxxxxxx


[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux