Stefan Kania
2018-07-26 10:23:26 UTC
Hello,
I have the following problem:
If I reboot a node in a gluster-cluster on a Debian- or Ubuntu-System
the fuse-mount is not working if I just put the mount-options into the
/etc/fstab. For this reason I wrote a systemd-script as followed:
-----------------
[Unit]
Description = Data dir
After=network.target glusterfs-server.service
Required=network-online.target
[Mount]
What=c1:/gv1
Where=/glusterfs
Type=glusterfs
Options=defaults,acl
[Install]
WantedBy=multi-user.target
-----------------
Somtimes the the volume will be mounted and sometime not. I can't figure
out why it's sometime not mounting the volume. If I execute the script
after a reboot the volume is mounting, so the script is working only the
conditions during the boot-process are the problem (I think). Can
someone give me a hint where to change things in my script?
It dosn't matter which gluster-version or which OS-Version I use it's
always the same.
Stefan
I have the following problem:
If I reboot a node in a gluster-cluster on a Debian- or Ubuntu-System
the fuse-mount is not working if I just put the mount-options into the
/etc/fstab. For this reason I wrote a systemd-script as followed:
-----------------
[Unit]
Description = Data dir
After=network.target glusterfs-server.service
Required=network-online.target
[Mount]
What=c1:/gv1
Where=/glusterfs
Type=glusterfs
Options=defaults,acl
[Install]
WantedBy=multi-user.target
-----------------
Somtimes the the volume will be mounted and sometime not. I can't figure
out why it's sometime not mounting the volume. If I execute the script
after a reboot the volume is mounting, so the script is working only the
conditions during the boot-process are the problem (I think). Can
someone give me a hint where to change things in my script?
It dosn't matter which gluster-version or which OS-Version I use it's
always the same.
Stefan