You are here

Encrypted file systems

www.cyberciti.biz/hardware/howto-linux-hard-disk-encryption-with-luks-cryptsetup-command/ good how-to

  • Manually mounting (will be asked for pass phrase
cryptsetup luksOpen /dev/xvdo syncfs
mount /dev/mapper/syncfs /syncfs

www.linux.org/threads/rhel6-volume-encryption-using-luks.4219/ how to handly re-boot

dd if=/dev/random of=/root/syncfs.k bs=32 count=1
cryptsetup luksAddKey /dev/xvdo /root/syncfs.k
echo "syncfs /dev/xvdo /root/syncfs.k" > /etc/crypttab
  • Then add a line in /etc/fstab like:
/dev/mapper/syncfs /syncfs      ext4    defaults        0       0
Topic: