I am trying to encrypt an LV with LUKS but everytime I boot it says superblock could not be read... I've tried many commands and it still does not work, it doesn't even ask for a password.
lvcreate -L500MB -n "lvname" "vgname"
shred -n1 -v "/dev/mapper/vgname_lvname"
cryptsetup luksFormat "/dev/mapper/vgname_lvname"
cryptsetup luksOpen "/dev/vgname/vgname_lvname" "name"
/dev/mapper/name dir ext4 defaults 1 2
dir /dev/mapper/name none
When I go into rescue mode however it does ask me for a password.