--verbose, -v
Print more information on command execution.
--debug
Run in debug mode with full diagnostic logs. Debug output
lines are always prefixed by '#'.
--version
Show the program version.
--batch-mode
Do not ask for confirmation.
--no-wipe
Do not wipe device after format. Deviced that is not initially
wiped will contain invalid checksums.
--journal-size=bytes
Size of journal.
--interleave-sectors=SECTORS
Number of interleaved sectors.
--journal-watermark=percent
Journal watermark in percents. When the size of the journal
exceeds this watermark, the journal flush will be started.
--journal-commit-time=ms
Commit time in milliseconds. When this time passes (and no
explicit flush operation was issued), the journal is written.
--tag-size=bytes
Size of the integrity tag per-sector (here the integrity
function will store authentication tag).
NOTE: The size can be smaller that output size of the hash
function, in that case only part of the hash will be stored.
--sector-size=bytes
Size of sector (power of two: 512, 1024, 2048, 4096).
--buffer-sectors=SECTORS
The number of sectors in one buffer.
The tag area is accessed using buffers, the large buffer size
means that the I/O size will be larger, but there could be
less I/Os issued.
--integrity=algorithm
Use intenal integrity calculation (standalone mode). The
integrity algorithm can be CRC (crc32c/crc32) or hash function
(sha1, sha256).
For HMAC (hmac-sha256) you have to also specify a integrity
key and its size.
--integrity-key-size=bits
The size of the data integrity key.
--integrity-key-file=file
The file with the integrity key.
--integrity-no-journal
Disable journal for integrity device.
WARNING: In case of crash, it is possible that the data and
integrity tag doesn't match if journal is disabled.
--integrity-recovery-mode
Recovery mode (no journal, no tag checking).
The dm-integrity target is available since Linux kernel version 4.12.

Report bugs, including ones in the documentation, on the cryptsetup
mailing list at <dm-crypt@saout.de> or in the 'Issues' section on
LUKS website. Please attach the output of the failed command with
the --debug option added.

This page is part of the Cryptsetup ((open-source disk encryption))
project. Information about the project can be found at
⟨https://gitlab.com/cryptsetup/cryptsetup⟩. If you have a bug report
for this manual page, send it to dm-crypt@saout.de. This page was
obtained from the project's upstream Git repository
⟨https://gitlab.com/cryptsetup/cryptsetup.git⟩ on 2017-09-15. If you
discover any rendering problems in this HTML version of the page, or
you believe there is a better or more up-to-date source for the page,
or you have corrections or improvements to the information in this
COLOPHON (which is not part of the original manual page), send a mail
to man-pages@man7.org
integritysetup May 2017 INTEGRITYSETUP(8)