You are not logged in.
Hi,
Ok this is a strange one because I have several encrypted volumes already in use working fine, yet im having problems creating a new LUKS container with cryptsetup on a new USB hard drive.
Just using standard AES in XTS mode, and all the required kernel modules (dmcrypt/aes) are loaded.
[root@tcore media]# cryptsetup -c aes-xts-plain -y -s 512 luksFormat /dev/sdf1
WARNING!
========
This will overwrite data on /dev/sdf1 irrevocably.
Are you sure? (Type uppercase yes): YES
Enter LUKS passphrase:
Verify passphrase:
device-mapper: reload ioctl failed: Invalid argument
Failed to setup dm-crypt key mapping for device /dev/sdf1.
Check that kernel supports aes-xts-plain cipher (check syslog for more info).
This is /dev/sdf:
Disk /dev/sdf: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdf1 63 488392064 244196001 83 Linux
Any ideas? As my kernel clearly does support the cipher. Possibly a USB issue as all my other volumes are on internal SATA drives?
EDIT: on some attempts the error varies and also shows: device-mapper: remove ioctl failed: Device or resource busy
Last edited by tntcoda (2010-09-30 12:31:00)
Offline