All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] cryptsetup align problem
@ 2010-08-25 21:50 Peter Smith
  2010-08-25 22:58 ` Milan Broz
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Smith @ 2010-08-25 21:50 UTC (permalink / raw)
  To: dm-crypt

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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-09-05 15:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-25 21:50 [dm-crypt] cryptsetup align problem Peter Smith
2010-08-25 22:58 ` Milan Broz
2010-08-26 12:43   ` Peter Smith
2010-09-03 17:58     ` Christoph Anton Mitterer
2010-09-04  9:31       ` Peter Smith
2010-09-05 10:07         ` Milan Broz
2010-09-05 15:07           ` Peter Smith

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.