Create virtual disk on ZFS pool in encrypted dataset

proxwolfe

Active Member
Jun 20, 2020
445
36
33
49
Hi,

I have a VM running under PVE that stores a lot of data that I want to have encrypted at rest.

On the PVE host, I have created a ZFS pool and inside that pool an encrypted dataset.

So now I would create a virtual disk on the ZFS pool and add it to the VM.

But how do I make PVE create the virtual disk in the encrypted dataset ?

Thanks!
 
Have you studied the ZFS guide? https://pve.proxmox.com/wiki/ZFS_on_Linux

It has entire section dedicated to encryption. The gist of it - its not plug-and-play. You have to figure out yourself how to load the key prior to PVE operations.
You might find some examples of how people have done it already.


Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 

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!