DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] Does luksFormat write the full size of the device?
@ 2016-06-26  3:39 Charles Cazabon
  2016-06-26 10:46 ` Milan Broz
  0 siblings, 1 reply; 3+ messages in thread
From: Charles Cazabon @ 2016-06-26  3:39 UTC (permalink / raw)
  To: dm-crypt

Hi,

I'm currently initializing a fairly large LUKS crypt device, about 33TiB.
I've done this before, but not for quite a while, so I can't remember how long
it normally takes.  My current cryptsetup invocation has been running for
about 24 hours, taking 100% of one CPU core for that entire time.  If there's
I/O happening, iostat isn't showing it.

If `cryptsetup luksFormat` has to write the entire contents of the underlying
block device, then this length of time is reasonable - but I don't recall if
it has to do that.

Is this long runtime normal for initialization of a device of this size?

System is Debian Wheezy with a mainline 4.6.2 kernel, cryptsetup 1.4.3 from
the normal Debian package.

Thanks,

Charles
-- 
------------------------------------------------------------------
Charles Cazabon                              <charlesc@pyropus.ca>
Software, consulting, and services available at http://pyropus.ca/
------------------------------------------------------------------

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

end of thread, other threads:[~2016-06-26 15:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-26  3:39 [dm-crypt] Does luksFormat write the full size of the device? Charles Cazabon
2016-06-26 10:46 ` Milan Broz
2016-06-26 15:02   ` Charles Cazabon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox