From 3e22a1c77e50cbd0887d74223c83a4dd50e77adf Mon Sep 17 00:00:00 2001 From: Aaron Date: Wed, 18 Nov 2015 17:52:33 -0700 Subject: [PATCH] POC fix for remotefs_final concat breaks replication The original code from 96a654545c results in undesireable behaviour of concatenating the 'Volume/Dataset' value and the 'Remote ZFS Volume Dataset' Which causes the remotefs_final to look for datasets that dont exist and fail. The change proposed above is tested working, but is a hack as I'm unsure of the entire code base, but the hack provided does make it work in my test systems. --- gui/tools/autorepl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/tools/autorepl.py b/gui/tools/autorepl.py index aee89e270e8ac..687c6dc4f5b6c 100644 --- a/gui/tools/autorepl.py +++ b/gui/tools/autorepl.py @@ -272,8 +272,8 @@ def exit_if_running(pid): sshcmd = '%s -p %d %s' % (sshcmd, remote_port, remote) - remotefs_final = "%s%s%s" % (remotefs, localfs.partition('/')[1],localfs.partition('/')[2]) - + #remotefs_final = "%s%s%s" % (remotefs, localfs.partition('/')[1],localfs.partition('/')[2]) + remotefs_final = "%s" % (remotefs) # Examine local list of snapshots, then remote snapshots, and determine if there is any work to do. log.debug("Checking dataset %s" % (localfs))