pve-zsync for VM with multiple disks over multiple storages, seems not to work?

mailinglists

Renowned Member
Mar 14, 2012
641
67
93
Should pve-zsync work for LXC VMs where VM has multiple disks across multiple storages?

I'm in a process of migrating some LXCs and just noticed that there are some disks missing on destination.

Job:
Code:
*/15 * * * * root pve-zsync sync --source 102 --dest XXX:hddpool/viri --name vm102 --maxsnap 2 --limit 50000 --method ssh --source-user root --dest-user root

Status:
Code:
102                      vm102                    ok        2019-03-01_12:45:01 lxc   ssh

Disks on source:
Code:
hddpool/subvol-102-disk-0                                   1.50T   461G  1.50T  /hddpool/subvol-102-disk-0
hddpool/subvol-102-disk-1                                   62.0G   138G  62.0G  /hddpool/subvol-102-disk-1
rpool/data/subvol-102-disk-0                                5.16G  44.9G  5.15G  /rpool/data/subvol-102-disk-0
rpool/data/subvol-102-disk-0@rep_vm102_2019-03-01_12:45:01  9.41M      -  5.15G  -

Disks on dest:
Code:
hddpool/viri/subvol-102-disk-0                                5.15G  6.96T  5.15G  /hddpool/viri/subvol-102-disk-0
hddpool/viri/subvol-102-disk-0@rep_vm102_2019-03-01_12:45:01   328K      -  5.15G  -

Relevant part of VM config.
Code:
mp0: hddpool:subvol-102-disk-0,mp=/home/ubuntu/XXX2,size=2000G
mp1: hddpool:subvol-102-disk-1,mp=/home/ubuntu/XXX2,size=200G
rootfs: local-zfs:subvol-102-disk-0,size=50G
 
Hmm.. why I couldn't sync both datasets and zvol sequentially, then shut down the LXC and sync the differences and start it in on the other side?
I guess I will have to manually sync the zfs datasets and use pve-zsync only for zvol to see why it would not work.
 

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!