I have got a FreeBSD system that I use as Samba server. It has only one partition. I'd like to split it into two partitions with os and data and encrypt the data partition with Geli.
As I understand, I cannot shrink the partition?
So, if I mount the disk on another system, cp -rp the disk, delete and create the partitions, copy back the data, will the system still boot, or is it better to install from scratch?
Can I somehow have the Geli partition unlocked automatically if a unix or samba user logs in, i.e. use the unix and samba passwords as Geli encryption key?
As I understand, I cannot shrink the partition?
So, if I mount the disk on another system, cp -rp the disk, delete and create the partitions, copy back the data, will the system still boot, or is it better to install from scratch?
Can I somehow have the Geli partition unlocked automatically if a unix or samba user logs in, i.e. use the unix and samba passwords as Geli encryption key?