[dm-crypt] crypetsetup and GPT partitions

Michael Kjörling michael at kjorling.se
Fri Feb 10 10:07:53 CET 2017

On 10 Feb 2017 00:15 -0800, from dpchrist at holgerdanske.com (David Christensen):
> The available space of the LUKS mapped device is going to be smaller
> than the partition size.  On one of my 3 TB drives, it's about ~44
> GB smaller (~1.6%).  The LUKS meta-data is going to be in there,
> including the header.

That doesn't make sense. The LUKS header is a shade over 1 MiB,
depending on the specific options (the FAQ has details). The size of
the header isn't related to the size of the container. Something else
is going on in your case.

Michael Kjörling • https://michael.kjorling.semichael at kjorling.se
                 “People who think they know everything really annoy
                 those of us who know we don’t.” (Bjarne Stroustrup)

More information about the dm-crypt mailing list