Unlocking LUKS2 with Sector Size > 512B

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

 



Hi,

I'm just experimenting with LUKS2 on my embedded target, and I suspect that the large sector size will help my encryption performance. (IMX6UL, so the NXP "caam" offload engine)

With my freshly build cryptsetup 2.0.5 I'm able to unlock and use LUKS1 as well as LUKS2 (512B sector) volumes, but if I create a LUKS2 with 4096B sector_size I get:

[ 2807.225522] device-mapper: table: 254:0: crypt: Invalid feature arguments
device-mapper: reload ioctl on  failed: Invalid argument
Requested sector_size option is not supported.

This machine is running a 4.9.80 kernel.  Is this a missing LVM2 (devmapper) feature, or a missing feature in the kernel?

Thanks,
mh

--
Martin Hicks P.Eng.      |         mort@xxxxxxxx
Bork Consulting Inc.     |   +1 (613) 266-2296
_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
https://www.saout.de/mailman/listinfo/dm-crypt

[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