Encrypting a single LXC container on LVM?

saldorin

New Member
Mar 8, 2023
1
0
1
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?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!