Encrypting a single LXC container on LVM?

saldorin

Member
Mar 8, 2023
1
0
6
Hey there,
i'm currently trying to figure out if it's possible to encrypt a single (privileged, if that matters at all) LXC container on an unencrypted LVM-VG (currently lvm-thin)?
I've got the data for that container encrypted via ZFS encryption, but unfortunately i only have ZFS on HDD and LVM on the SSD - and it would really be preferable to have the root for the container on SSD.
As the VM-Volume isn't mounted in the Host-Environment, my first thought about ecryptfs doesn't seem to be possible.

Maybe someone has any tip or idea?