cryptsetup --verbose --verify-passphrase luksFormat /dev/sda1
open:cryptsetup luksOpen /dev/sda1 usb
format:mkfs.ext2 /dev/mapper/usb
mount:mount /dev/mapper/usb /usb
umount:umount /usb
close:crypsetup luksClose usb
on disk
cryptsetup luksFormat [partition]
cryptsetup luksOpen [partition] [name]
mkfs.ext4 /dev/mapper/[name]
mount /dev/mapper/[name]
cryptsetup luksClose [name]
start during boot:
cryptsetup luksDump /dev/mapper/vg_euplnb1001-lv_01 |grep UUID >> /etc/crypttab
/etc/crypttab[name] /dev/disk/by-uuid/220ec734-ccbd-497a-8632-eae4f28608ae none luks
/etc/fstab/dev/mapper/[name] /mnt/[mount_point] ext4 defaults 0 0