summaryrefslogtreecommitdiffstats
path: root/geo-replication
diff options
context:
space:
mode:
authorShwetha K Acharya <sacharya@redhat.com>2020-08-31 20:08:39 +0530
committerKaleb KEITHLEY <kkeithle@redhat.com>2020-09-10 12:12:15 +0000
commit24c7d694b499e5489856e383c9bb90afc5f18ed5 (patch)
tree222c90193b2925b2cf394546a5805fdadc972533 /geo-replication
parentaec219826ef265ee287a642e1341ddf4f97fe478 (diff)
geo-rep: gluster_shared_storage fails to automount on node reboot on rhel 8.
Issue: On reboot, all the mounts get wiped out. Only the mounts mentioned in /etc/fstab automatically gets mounted during boot/reboot. But /etc/fstab complains on not getting a canonical path (it gets path containing a symlink) This is because the gluster_shared_storage, is mounted to /var/run which is symlink to /run. This is a general practice followed by most operating systems. [root@ ~]# ls -lsah /var/run 0 lrwxrwxrwx. 1 root root 6 Jul 22 19:39 /var/run -> ../run Fix: Mount gluster_shared_storage on /run. (Also It is seen that /var/run is mostly used by old or legacy systems, thus it is a good practice to update /var/run to /run) fixes: #1459 Change-Id: I8c16653be8cd746c84f01abf0eea19284fb97c77 Signed-off-by: Shwetha K Acharya <sacharya@redhat.com>
Diffstat (limited to 'geo-replication')
-rw-r--r--geo-replication/gsyncd.conf.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/geo-replication/gsyncd.conf.in b/geo-replication/gsyncd.conf.in
index 11e57fdf54f..9688c79fab7 100644
--- a/geo-replication/gsyncd.conf.in
+++ b/geo-replication/gsyncd.conf.in
@@ -123,7 +123,7 @@ type=bool
help=Use this to set Active Passive mode to meta-volume.
[meta-volume-mnt]
-value=/var/run/gluster/shared_storage
+value=/run/gluster/shared_storage
help=Meta Volume or Shared Volume mount path
[allow-network]