DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Anton Mitterer <christoph.anton.mitterer@physik.uni-muenchen.de>
To: Peter Smith <peter.smith3882100@gmail.com>
Cc: dm-crypt@saout.de
Subject: Re: [dm-crypt] cryptsetup align problem
Date: Fri, 03 Sep 2010 19:58:27 +0200	[thread overview]
Message-ID: <1283536707.6913.3.camel@fermat.scientia.net> (raw)
In-Reply-To: <AANLkTin=ydit6TCX+VST1+rC540YTNNqUC9Q58Bapv-Z@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 444 bytes --]

On Thu, 2010-08-26 at 14:43 +0200, Peter Smith wrote:
> The LUKS volume is aligned to 1024K this is a multiple of 512 then lvm
> is aligned to 512K with pvcreate --metadatasize 512k /dev/mapper/XXX,
> i could also align dm-crypt to 4096K which is a multiple of 512 or
> maybe align lvm to 1024K instead.
AFAIU --metadatasize has nothing (directly) to do with the alignment,
but just how much is reserved for metadata.

Cheers,
Chris.

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 3387 bytes --]

  reply	other threads:[~2010-09-03 17:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2010-09-04  9:31       ` Peter Smith
2010-09-05 10:07         ` Milan Broz
2010-09-05 15:07           ` Peter Smith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1283536707.6913.3.camel@fermat.scientia.net \
    --to=christoph.anton.mitterer@physik.uni-muenchen.de \
    --cc=dm-crypt@saout.de \
    --cc=peter.smith3882100@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox