From b4d909003851e327d2cf448f9409cf5e31893579 Mon Sep 17 00:00:00 2001 From: Kotresh HR Date: Fri, 10 Apr 2015 17:03:02 +0530 Subject: geo-rep: Adhering to the common storage for geo-rep Making geo-rep use the common storage shared by nfs, snapshot and geo-rep. The meta volume should be named as gluster_shared_storage, and it should be mounted at "/var/run/gluster/shared_storage/". geo-rep will have create a directory called 'geo-rep' in the meta-volume and all the lock files are created inside it. Change-Id: I82d0bff9be191f75f643606a9a21d53559047ac4 BUG: 1210344 Signed-off-by: Kotresh HR Reviewed-on: http://review.gluster.org/10196 Reviewed-by: Aravinda VK Tested-by: NetBSD Build System Tested-by: Gluster Build System --- geo-replication/syncdaemon/gsyncd.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'geo-replication/syncdaemon/gsyncd.py') diff --git a/geo-replication/syncdaemon/gsyncd.py b/geo-replication/syncdaemon/gsyncd.py index 41055eaae64..b9ee5aec8c7 100644 --- a/geo-replication/syncdaemon/gsyncd.py +++ b/geo-replication/syncdaemon/gsyncd.py @@ -258,8 +258,9 @@ def main_i(): type=int, default=1) op.add_option('--changelog-archive-format', metavar='N', type=str, default="%Y%m") - op.add_option('--meta-volume', metavar='N', - type=str, default="") + op.add_option('--use-meta-volume', default=False, action='store_true') + op.add_option('--meta-volume-mnt', metavar='N', + type=str, default="/var/run/gluster/shared_storage") op.add_option( '--turns', metavar='N', type=int, default=0, help=SUPPRESS_HELP) op.add_option('--allow-network', metavar='IPS', default='') -- cgit