Zfs vms in dataset

redmop

Well-Known Member
Feb 24, 2015
121
2
58
Is there a way to set up the zfs plugin to store vms under a dataset instead of the root of the pool? This would make scripting snapshots and send/recv much easier.

I other words, instead of
Rpool/vm-100-disk-1
Have
Rpool/pve/images/100/disk-1
Or even
Rpool/pve/images/vm-100-disk-1
 
Oh nice! It would be great if the "add storage" UI would let you pick an existing data set rather than only offering the top level pools to choose from.
 
The next improvement would be to have each VM make its own (sub) data set to hold the disks, like how the directory based storage makes a subdirectory per VM. This would allow for some useful ZFS management.
 

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!