Lxc with bind volumes on separate SSD - replication

PTR

New Member
Feb 20, 2022
10
0
1
41
want to create a samba server in an lxc.
the bind volumes are on a separate ssd. Every node has the same hw. I use zfs.
-> is it possible to replicate the zfs volumes tied to the lxc to every node?
How would Proxmox know on which ssd which data should be replicated to?
 
it is possible to set the volume replication=1, but how does Proxmox now where the destination is? That is not possible when the volume size on the first disk (where the LXC) is not big enough for all bind volumes that should be replicated?

Every node:
1nd disk: zfs pool1 (500gb) -> LXCs incl. Samba
2nd disk: zfs pool2 (1tb) -> Data (that should be replicated)
 
want to create a samba server in an lxc.
the bind volumes are on a separate ssd. Every node has the same hw. I use zfs.
-> is it possible to replicate the zfs volumes tied to the lxc to every node?
How would Proxmox know on which ssd which data should be replicated to?
Hi,

I think that zfs replikation work from one node to other node if the source and destination nodes have the same pool/pools for each vdisk, like this:

- this vdisk is on zpool X, on destination if it is the same pool X, then the replication will work


Good luck / Bafta!