Displaying 2 results from an estimated 2 matches for "gfsvol2".
Did you mean:
  gfsvol
  
2020 Sep 28
1
Centos8: Glusterd do not start correctly when I startup or reboot all server together
...rick1
   gluster pool list
   gluster volume create gfsvol1 replica 2 virt1:/gfsvol1/brick1
   virt2:/gfsvol1/brick1 force
   gluster volume start gfsvol1
   gluster volume info gfsvol1
   gluster volume status gfsvol1
   gluster volume heal gfsvol1
   # add to /etc/fstab
   vi /etc/fstab
   virt1:/gfsvol2	/virt-gfs glusterfs defaults,noatime,_netdev 0
   0
   mkdir /virt-gfs
   mount -a
All work fine but when I start or restart all server together glusterd
server start but if I try mount the volume, gluster is not working.
At this point if I restart the glusterd service and run "mount -a"...
2020 Oct 02
0
Centos8: Glusterd do not start correctly when I startup or reboot all server together
The systemd glusterd.service unit modify do not resolve my problem
The solution is mount the glusterfs volume with this line into
/etc/fstab:
   virt2:/gfsvol2 /virt-gfs glusterfs defaults,_netdev,noauto,x-systemd.automount,x-systemd.device-timeout=20,x-systemd.requires=glusterd.service 0 0
run 
   systemctl daemon-reload
and run this for mount the volume
   systemctl restart virt\\x2dgfs.mount
Now all work fine, also when I reboot or when I power on a...