управлять обычными dm-crypt и зашифрованными томами LUKS (manage plain dm-crypt and LUKS encrypted volumes)
MISCELLANEOUS
repair <device>
Tries to repair the device metadata if possible. Currently
supported only for LUKS device type.
This command is useful to fix some known benign LUKS
metadata header corruptions. Only basic corruptions of
unused keyslot are fixable. This command will only change
the LUKS header, not any key-slot data. You may enforce
LUKS version by adding --type option.
WARNING:
Always create a binary backup of the original
header before calling this command.
benchmark <options>
Benchmarks ciphers and KDF (key derivation function).
Without parameters, it tries to measure few common
configurations.
To benchmark other ciphers or modes, you need to specify
--cipher
and --key-size
options or --hash
for KDF test.
NOTE:
This benchmark is using memory only and is only
informative. You cannot directly predict real storage
encryption speed from it.
For testing block ciphers, this benchmark requires kernel
userspace crypto API to be available (introduced in Linux
kernel 2.6.38). If you are configuring kernel yourself,
enable "User-space interface for symmetric key cipher
algorithms" in "Cryptographic API" section
(CRYPTO_USER_API_SKCIPHER .config option).
<options>
can be [--cipher, --key-size, --hash].