Cryptsetup development
 help / color / mirror / Atom feed
From: Thorsten Glaser <tg@evolvis.org>
To: cryptsetup@lists.linux.dev
Subject: Re: 4K sector size, cryptswap, with/-out dm-integrity?
Date: Fri, 10 Jul 2026 20:16:40 +0200 (CEST)	[thread overview]
Message-ID: <91d38f35-20fd-3beb-64bb-7adae716af92@evolvis.org> (raw)
In-Reply-To: <91244f91-7fdd-780f-8860-dfa7e784b7dc@evolvis.org>

On Fri, 10 Jul 2026, Thorsten Glaser wrote:

>If so, under the same circumstances as above? (Either 4K logical
>device (which I seem to not have) or 4K integritysetup with journal
>(also on 512/4K or 512/512 devices?) or MAYBE 512/4K devices?)

I just saw in the other thread that encrypted swap on dm-integrity
in J (journal) mode may be not safe.

So for encrypted swap over RAID-1 over dm-integrity, I’d need to
have a separate RAID device and the dm-integrity below that in a
different mode (is B safe for swap and does B allow this to work
with 512/4K devices?).

Questions over questions,
//mirabilos, who’ll have to repartition a few hosts…
-- 
[16:04:33] bkix: "veni vidi violini"
[16:04:45] bkix: "ich kam, sah und vergeigte"...

      reply	other threads:[~2026-07-10 18:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-10 17:14 4K sector size, cryptswap, with/-out dm-integrity? Thorsten Glaser
2026-07-10 18:16 ` Thorsten Glaser [this message]

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=91d38f35-20fd-3beb-64bb-7adae716af92@evolvis.org \
    --to=tg@evolvis.org \
    --cc=cryptsetup@lists.linux.dev \
    /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