cryptsetup align problem

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

 



I am trying to align a LUKS volume to 512K boundary. I calculate the
--align-payload value like this:

(512*1024) / 512 = 1024

cryptsetup luksFormat --align-payload=1024 /dev/sda1

When i confirm the task with cryptsetup luksDump /dev/sda2 the Payload
offset is set to 2048 which is 1024K?

What am i doing wrong?

cryptsetup version is 1.1.0-rc2, dmsetup library version is 1.02.39
and driver version is 4.15.0. Linux is 2.6.32-21.
_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://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