CRYPTSETUP-LUKSSUSPEND(8)
π CRYPTSETUP-LUKSSUSPEND(8) π
okay bestie, gather round, because this one is literally the maintenance-command page for cryptsetup-luksSuspend, and she is dramatic in the best way π
β¨ NAME β¨
cryptsetup-luksSuspend β suspends an active device and wipes the key ππ
πΈ SYNOPSIS πΈ
cryptsetup luksSuspend [<options>] <name>
π¦ DESCRIPTION π¦
So what this does is: it suspends an active device (meaning all IO operations will block and accesses to the device will wait indefinitely π« ) and it wipes the encryption key from kernel memory. iconique. terrifying. obsessed.
Now, real talk β even though the luksSuspend operation wipes encryption keys from memory, it does not remove possible plaintext data in various caches or in-kernel metadata for mounted filesystems. so like, the key is gone but the vibes of your data may still be lingering around. no cap.
After this operation, you must use luksResume to reinstate the encryption key and unblock the device, or close to remove the mapped device. those are your only two exits, bestie, pick one π
WARNING: To avoid deadlock, never suspend the device on which the cryptsetup binary resides. fr fr. do not do this. that is a deadlock and a deadlock is not the vibe π
<options> can be [--header, --disable-locks].
π OPTIONS π
--batch-mode,-qβ Suppresses all confirmation questions. Use with care! π If the--verify-passphraseoption is not specified, this option also switches off the passphrase verification.--debugor--debug-jsonβ Run in debug mode with full diagnostic logs. Debug output lines are always prefixed by#. If--debug-jsonis used, additional LUKS2 JSON data structures are printed. (very "show me everything" of it β¨)--disable-locksβ Disable lock protection for metadata on disk. This option is valid only for LUKS2 and is ignored for other formats.
WARNING: Do not use this option unless you runcryptsetupin a restricted environment where locking is impossible to perform (where/rundirectory cannot be used). like, only if you actually have to π«Ά
--header <device or file storing the LUKS header>β Use a detached (separated) metadata device or file where the LUKS header is stored. This option allows one to store the ciphertext and LUKS header on different devices. For commands that change the LUKS header (e.g.,luksAddKey), specify the device or file with the LUKS header directly as the LUKS device. π--help,-?β Show help text and default parameters. the "just tell me what to do" button π--usageβ Show short option help.--version,-Vβ Show the program version.
π REPORTING BUGS π
Report bugs at cryptsetup mailing list <cryptsetup@lists.linux.dev> or in Issues project section <https://gitlab.com/cryptsetup/cryptsetup/-/issues/new>.
Please attach the output of the failed command with --debug option added. (yes, the whole thing, they need the receipts π§)
π SEE ALSO π
Cryptsetup FAQ <https://gitlab.com/cryptsetup/cryptsetup/wikis/FrequentlyAskedQuestions>
cryptsetup(8), integritysetup(8) and veritysetup(8)
β CRYPTSETUP β
Part of cryptsetup project <https://gitlab.com/cryptsetup/cryptsetup/>. main character energy, honestly.
and that's the whole page, bestie π this was cryptsetup version 2.8.8, dated 2026-09-07, from the CRYPTSETUP-LUKSSUSPEND(8) manual β slay, stay encrypted, and please don't suspend the device your cryptsetup binary lives on πβ¨
π¦ where this page comes from
- arch rolling: cryptsetup 2.8.8-1 Β· GPL-2.0-or-later
- fedora 44: cryptsetup 2.8.8-1.fc44 Β· GPL-2.0-or-later WITH cryptsetup-OpenSSL-exception AND LGPL-2.1-or-later WITH cryptsetup-OpenSSL-exception
- nixpkgs unstable: cryptsetup 2.8.8
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms