C.4.3. Format the Device as a dm-crypt/LUKS Encrypted Device
C.4.3. Format the Device as a dm-crypt/LUKS Encrypted Device Warning The command below will destroy any existing data on the device. Note For more information, read the cryptsetup(8) man page. After supplying the passphrase twice the device will be formatted for use. To verify, use the following command: To see a summary of the encryption information for the device, use the following command:
cryptsetup luksFormat <device> cryptsetup isLuks <device> && echo Success cryptsetup luksDump <device>