Dario Lesca
2021-Aug-27 14:31 UTC
[Gluster-users] glusterfs volume not mounted at boot time (RedHat 8.4)
Hello everybody. I have setup a glusterfs volume without problem, all work fine. But if I reboot a node, when the node start the volume is not mounted. If I access to the node via SSH and run "mount /virt-gfs/" the volume is mounted correctly. This is the /etc/fstab entry: virt2.local:/gfsvol1 /virt-gfs glusterfs defaults,_netdev,noauto,x-systemd.automount,x-systemd.device-timeout=120,x-systemd.requires=glusterd.service,x-systemd.before=libvirtd.service 0 0 For testing, I have also set SElinux to "permissive" but none is change. Someone can help me? If you need some other info, let me know Many thanks -- Dario Lesca (inviato dal mio Linux Fedora 34 Workstation)
a.schwibbe at gmx.net
2021-Aug-27 14:53 UTC
[Gluster-users] glusterfs volume not mounted at boot time (RedHat 8.4)
Dario, Your fstab line includes mount option "noauto" so it won't automatically mount on boot!? Try to remove noauto, reboot. I usually only mount local gluster mount point with defaults,_netdev Cheers Andreas "Dario Lesca" d.lesca at solinos.it ? 27. August 2021 16:38> Hello everybody. > > I have setup a glusterfs volume without problem, all work fine. > But if I reboot a node, when the node start the volume is not mounted. > If I access to the node via SSH and run "mount /virt-gfs/" the volume > is mounted correctly. > > This is the /etc/fstab entry: > virt2.local:/gfsvol1 /virt-gfs glusterfs defaults,_netdev,noauto,x-systemd.automount,x-systemd.device-timeout=120,x-systemd.requires=glusterd.service,x-systemd.before=libvirtd.service 0 0 > > For testing, I have also set SElinux to "permissive" but none is > change. > > Someone can help me? > > If you need some other info, let me know > > Many thanks > >