pve-zsync and two zfs dataset

Jan 31, 2022
4
0
6
35
Good afternoon.
I have this configuration:

PVE01:
rpool - SSD pool
hdd - HDD pool

VM 101 has disks on each pool:

rpool/data/vm-101-disk-0
hdd/vm-101-disk-0


PVE02 (same server as PVE01):
rpool - SSD pool
hdd - HDD pool

I can use pve-zsync only with --prepend-storage-id and --dest PVE02_ip:rpool/data
This leads to this result on PVE02:

rpool/data/hdd/vm-101-disk-0
rpool/data/local-zfs/vm-101-disk-0


Is it possible to copy a disk to its dataset?

PVE01:hdd/vm-101-disk-0 to PVE02:hdd/vm-101-disk-0
and
PVE01:rpool/data/vm-101-disk-0 to PVE02:rpool/data/vm-101-disk-0

How does pvesr do it, for example, without specifying <ZFSPool>[/Path] on --dest

Thanks for any help!
 
Last edited:
Hi,
unfortunately, there is no possibility to do such a mapping at the moment. pve-zsync currently only works with a single destination. You could create a sub-filesystem in the hdd pool and mount it at rpool/data/hdd, but maybe that's not close enough to what you actually want.

pvesr just preserves the actual paths, because in a cluster context the storage configuration is shared across nodes.

Feel free to create a feature request on our bugtracker.
 

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!