dm-integrity-recovery-mode · shipping · also dm-integrity R mode

dm-integrity recovery mode

dm-integrity recovery mode is a Linux device-mapper access mode that bypasses integrity checks and journal replay while disallowing writes through the mapping.

Related Observatory article: Read on hesela.com

Linux v6.12 documents this mode for recovery when ordinary activation fails; obtaining bytes does not authenticate them. [1] The v6.12 sync_rw_sb implementation also skips superblock MAC checking in this mode. [2] Because the journal is not replayed, writes held only in journal sections are not applied; each section begins with a 4 KiB metadata area, and each journal data sector keeps 504 bytes of data while its last 8 bytes sit in the journal entry. It is distinct from normal verified read-only access and from recalculation, which generates replacement tags. [1]

Relations

related
dm-integrity, Linux block-device read-only flag, Read-only mount, Authenticated encryption

Advantages

  • Data can still be read from a device whose tags or journal would otherwise prevent activation. [1]

Limitations

  • The mode reads data as stored and does not repair content or regenerate tags. [1]

Citations

  1. Linux v6.12 documentation: dm-integrity, integrity-tag ownership and journal/direct modes (accessed 2026-10-23)
  2. Linux v6.12 dm-integrity.c: dm_integrity_disable_recalculate and sync_rw_sb (accessed 2026-10-15)

Further reading

  1. Hesela: Recovery can stop checking the evidence (accessed 2026-10-15)
Sources & caveats
  • dm-integrity-source is the Linux v6.12 dm-integrity documentation, re-read 2026-10-23 for the R mode text and the journal section layout.
  • The freshness and write-blocking caveats follow a companion analysis of integrity recovery, kept as a listed citation.
  • The btrfs-read-only-subvolume entry links here because both are read-only scopes, and recovery mode additionally skips verification for the whole mapping.

JSON: /data/terms/dm-integrity-recovery-mode.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. dm-integrity recovery mode. Hesela. 2026-10-23. https://hesela.dev/terms/dm-integrity-recovery-mode/