Hello!
I'm trying to encrypt my swap partition, but I have some troubles.
I've add ".eli" suffix to swap device in me /etc/fstab file:
and set geli_swap_flags in /etc/rc.conf:
.
I'm loading geom_eli, zlib and crypto kernel modules ad boot (through /boot/loader.conf):
But it seems that encswap doesn't start after reboot ("swapinfo" and "geli status" show nothing).
But if I run "/etc/rc.d/encswap start" manually, it seems to work ok:
What I'm doing wrong?
PS: I'm using FreeBSD 7.1
I'm trying to encrypt my swap partition, but I have some troubles.
I've add ".eli" suffix to swap device in me /etc/fstab file:
Code:
# Device Mountpoint FStype Options Dump Pass#
/dev/ad4s1b.eli none swap sw 0 0
and set geli_swap_flags in /etc/rc.conf:
Code:
geli_swap_flags="-e blowfish -l 448 -s 4096 -d"
I'm loading geom_eli, zlib and crypto kernel modules ad boot (through /boot/loader.conf):
Code:
zlib_load="YES"
crypto_load="YES"
geom_eli_load="YES"
But it seems that encswap doesn't start after reboot ("swapinfo" and "geli status" show nothing).
But if I run "/etc/rc.d/encswap start" manually, it seems to work ok:
Code:
cloud# geli status
Name Status Components
ad4s1b.eli N/A ad4s1b
What I'm doing wrong?
PS: I'm using FreeBSD 7.1