Re: 4K sector size, cryptswap, with/-out dm-integrity?

Thorsten Glaser <[email protected]> Fri, 10 Jul 2026 20:16:40 +0200 (CEST)
Newsgroups dev.linux.lists.cryptsetup
Message-ID <[email protected]>
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=E2=80=99d 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=E2=80=99ll have to repartition a few hosts=E2=80=A6
--=20
[16:04:33] bkix: "veni vidi violini"
[16:04:45] bkix: "ich kam, sah und vergeigte"...