INTEGRITYSETUP(8) (NAME) integritysetup - dm-integrity (SYNOPSIS) integritysetup [<>] <> [< >] (DESCRIPTION) dm-integrity . (device-mapper integrity target) / . dm-integrity . integritysetup ( ) cryptsetup . (BASIC ACTIONS) integritysetup : (FORMAT) format ( dm-integrity ). <> [--data-device, --batch-mode, --no-wipe, --journal-size, --interleave-sectors, --tag-size, --integrity, --integrity-key-size, --integrity-key-file, --sector-size, --progress-frequency, --progress-json] . (OPEN) open create ( ) . --integrity . . <> [--data-device, --batch-mode, --journal-watermark, --journal-commit-time, --buffer-sectors, --integrity, --integrity-key-size, --integrity-key-file, --integrity-no-journal, --integrity-recalculate, --integrity-recalculate-reset, --integrity-recovery-mode, --allow-discards] . (CLOSE) close remove ( ) . <> [--deferred] [--cancel-deferred] . (STATUS) status . (DUMP) dump . (RESIZE) resize . --size ( ) --device-size . recalculating . --wipe (wipe) . . . <> [--size, --device-size, --wipe] . (OPTIONS) --allow-discards (discard / TRIM) . . . --batch-mode, -q ( ). --bitmap-flush-time MS (bitmap) . : (crash) . --bitmap-sectors-per-bit SECTORS . --buffer-sectors SECTORS . / (I/O) / . --cancel-deferred close . --data-device . . : --no-wipe --integrity-recalculate . --debug . # . --deferred close . --help, -? . --integrity, -I ALGORITHM ( ). CRC ( crc32c/crc32) (xxhash64) (sha1, sha256) . HMAC ( hmac-sha256) . --integrity-bitmap-mode, -B ( . ) dm-integrity . - . . --integrity-key-file FILE . --integrity-key-size BYTES . . --integrity-no-journal, -D . --integrity-recalculate . . . . --integrity-recalculate-reset . . . . . --integrity-recovery-mode, -R ( ). --interleave-sectors SECTORS (interleaved). --journal-commit-time MS (commit) . ( ) . --journal-crypt ALGORITHM . cbc-aes chacha20 ctr-aes . : . . --journal-crypt-key-file FILE . --journal-crypt-key-size BYTES . . --journal-integrity ALGORITHM . --integrity . --journal-integrity-key-file FILE . --journal-integrity-key-size BYTES . . --journal-size, -j BYTES . --journal-watermark PERCENT . . --no-wipe (wipe) . . --progress-frequency . --progress-json json . ( --progress-frequency) . JSON ( ): { "device":"/dev/sda", // backing device or file "device_bytes":"8192", // bytes wiped so far "device_size":"44040192", // total bytes to wipe "speed":"126877696", // calculated speed in bytes per second (based on progress so far) "eta_ms":"2520012", // estimated time to finish wipe in milliseconds "time_ms":"5561235" // total time spent wiping device in milliseconds } JSON: JSON . --sector-size, -s BYTES ( : ). --tag-size, -t BYTES ( ). : . --usage . --verbose, -v . --version, -V . --wipe (wipe) . . (LEGACY COMPATIBILITY OPTIONS) : . --integrity-legacy-padding . --integrity-legacy-hmac HMAC ( ). --integrity-legacy-recalculate HMAC ( ). (RETURN CODES) integritysetup 0 . : 1 2 3 4 5 . (NOTES) dm-integrity . . ( ) dm-integrity . (EXAMPLES) (CRC32C): integritysetup format : integritysetup open test HMAC(SHA256): integritysetup format --tag-size 32 --integrity hmac-sha256 --integrity-key-file --integrity-key-size () HMAC(SHA256) HMAC : integritysetup open test --integrity hmac-sha256 --integrity-key-file --integrity-key-size dm-integrity: integritysetup dump DM-INTEGRITY (DM-INTEGRITY ON-DISK FORMAT) DMIntegrity . (AUTHORS) integritysetup Milan Broz . . (REPORTING BUGS) cryptsetup . . --debug . (SEE ALSO) Cryptsetup FAQ cryptsetup(8), integritysetup(8) veritysetup(8) CRYPTSETUP cryptsetup . cryptsetup 2.7.5 INTEGRITYSETUP(8)