For replication, add -F flag and set remote canmount from 'on' to 'noauto'
Pre-release
Pre-release
-
The -F flag is supplied to zfs receive, which destroys remote changes that do not exist on the sending side.
-
If the canmount property of the local dataset is set to 'on', after replication an attempt is made to set canmount to 'noauto' on the remote side. This is done to prevent mountpoint collisions.
Credit do David Samms dsamms@nw-ds.com, who identified issues and submitted a patch for part of these changes.