VM replication

Jun 28, 2019
119
12
23
44
Hi,

I'm trying to create a replication between two PVE 6.0 Servers, but it is giving the error below when I try to create the replication:

2019-10-25 11:26:01 101-0: start replication job
2019-10-25 11:26:01 101-0: guest => VM 101, running => 0
2019-10-25 11:26:01 101-0: volumes => zfs-vol01:vm-101-disk-0
2019-10-25 11:26:02 101-0: (remote_prepare_local_job) storage 'zfs-vol01' is not available on node 'pve02-bnu'
2019-10-25 11:26:02 101-0: end replication job with error: command '/usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=pve02-bnu' root@189.85.64.52 -- pvesr prepare-local-job 101-0 zfs-vol01:vm-101-disk-0 --last_sync 0' failed: exit code 255

ZFS-VOL01 is not available on pve02 because it is a ZFS-LOCAL volume... it's not a shared storage...

It's not possible to use replication without shared storage?
 
reading the PVE Admin Guide, it says ZFS-local is supported for storage replication.. so, what am I missing in this setup?
 
I solved the problem!!!

Just removed the zpool from node2 and recreate it again with the same pool name as node1 without ticking the option to "ADD STORAGE"... after this, just configured the storage at DataCenter level to be available on both nodes..

After this, the zfs pool appeared on both nodes with same name, but obviously, different content!!

Regards.
 
Last edited:

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!