ZFS volume naming (for replication)

greg

Renowned Member
Apr 6, 2011
140
2
83
Greetings
I have a cluster where the nodes are on ZFS. I noticed that the target of a replication job must have the same ZFS configuration as the source.
Also I noticed that I can "alias" a zfs volume in /etc/pve/storage.cfg, ie specify to which actual zfs volume a "proxmox zfs name" correspond.

However for historical reasons, my ZFS volumes don't have the same names on the source and target node. I tried to have two sections of storage.cfg like this:

Code:
zfspool: my_zfs
    pool my_source_pool/my_source_zfs
    nodes sourcenode

zfspool: my_zfs
    pool my_target_pool/my_target_zfs
    nodes targetnode

but it doesn't work, only one is used.

Is there a way to replicate a CT when the source and target ZFS have different names?

Thanks in advance

Regards
 
Last edited:
no, with the built in replication this is not possible at the moment. it is however if you manually handle that with zfs send/receive or by using pve-zsync
 
it is also not possible to create a pool with the same name ... so how can we use the replication feature ?

1625472413750.png
 
no, with the built in replication this is not possible at the moment. it is however if you manually handle that with zfs send/receive or by using pve-zsync
Thanks for your answer.
I'd like this to be part of the "natural" replication process so I'd prefer to avoid using CLI.
What do you suggest? renaming the volumes or pools? or maybe something more clever?
I have a big backup server which I cannot use because of that :(

TIA

Regards
 
Last edited: