summaryrefslogtreecommitdiffstats
path: root/geo-replication
diff options
context:
space:
mode:
Diffstat (limited to 'geo-replication')
-rwxr-xr-xgeo-replication/src/gverify.sh2
-rw-r--r--geo-replication/syncdaemon/monitor.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/geo-replication/src/gverify.sh b/geo-replication/src/gverify.sh
index ef31f527afd..e9c9b28837d 100755
--- a/geo-replication/src/gverify.sh
+++ b/geo-replication/src/gverify.sh
@@ -63,7 +63,7 @@ exit 1;
fi;
cd \$d;
disk_size=\$(df -B1 \$d | tail -1 | awk "{print \\\$2}");
-available_size=\$(df -B1 \$d | tail -1 | awk "{print \\\$3}");
+used_size=\$(df -B1 \$d | tail -1 | awk "{print \\\$3}");
no_of_files=\$(find \$d -maxdepth 0 -empty);
umount -l \$d;
rmdir \$d;
diff --git a/geo-replication/syncdaemon/monitor.py b/geo-replication/syncdaemon/monitor.py
index e49a24ee5f5..c44735ffb3d 100644
--- a/geo-replication/syncdaemon/monitor.py
+++ b/geo-replication/syncdaemon/monitor.py
@@ -267,7 +267,7 @@ def distribute(*resources):
sbricks = {'host': 'localhost', 'dir': si.path}
suuid = uuid.uuid5(uuid.NAMESPACE_URL, slave.get_url(canonical=True))
elif isinstance(si, GLUSTER):
- svol = Volinfo(si.volume, si.host, prelude)
+ svol = Volinfo(si.volume, si.host)
sbricks = svol.bricks
suuid = svol.uuid
else: