Quantcast
Viewing latest article 9
Browse Latest Browse All 15

auto mount what to change in /etc/fstab and /etc/cryptab file

After reboot my auto-mounting of encrypted does not come up.

df -k
# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 151780516 3026000 141044464 3% /
none 1016108 664 1015444 1% /dev
none 1025900 184 1025716 1% /dev/shm
none 1025900 116 1025784 1% /var/run
none 1025900 0 1025900 0% /var/lock
/dev/mapper/BACKUP 480716864 202664 475630384 1% /backup

But after reboot the /backup disappears.

/etc/fstab
/dev/mapper/BACKUP /backup ext4 defaults 1 2

/etc# more crypttab
#
backup /dev/mapper/BACKUP none luks

Please help.


Viewing latest article 9
Browse Latest Browse All 15

Trending Articles