<html><head></head><body><div>Thanks Andreas,</div><div>I will follow your suggestion to check the order of services via systemd</div><div><span></span></div><div>For now, I can't substitute RedHat (I use Rocky Linux, not RedHat)  with Debian or Ubuntu.</div><div><br></div><div>Many thanks</div><div>Dario</div><div><br></div><div>Il giorno ven, 27/08/2021 alle 15.19 +0000, a.schwibbe@gmx.net ha scritto:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div>Hey Dario,<br></div><div><br></div><div><br></div><div>I also have libvirtd running. No problems on Ubuntu dists, everything is started/mounted in correct order, but can't recommend on RedHat.<br></div><div>I'd look at chkconfig man-page, you could edit boot order of your services if necessary.<br></div><div><br></div><div><br></div><div>Andreas<br></div><div><br></div><div><br></div><div>"Dario Lesca" <a href="mailto:d.lesca@solinos.it">d.lesca@solinos.it</a> – 27. August 2021 17:12<br></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div>Thanks Andreas.<br></div><div><br></div><div>I have try to remove only the "noauto" in my fstab line but none is change.<br></div><div><br></div><div>Then I have follow you suggest and I try to leave only "defaults,_netdev"<br></div><div>In this case the volume after reboot is mounted.<br></div><div>Good!<br></div><div><br></div><div>But my problem is that this volume must mount before libvirtd start, or maybe it is better to say, libvirtd must start after "glusterd is start and volume is mount".<br></div><div>This is why I added those x-systemd directives<br></div><div><br></div><div>There is some solution to this issue?<br></div><div><br></div><div>Many thanks<br></div><div>Dario<br></div><div><br></div><div><br></div><div><br></div><div>Il giorno ven, 27/08/2021 alle 14.53 +0000, <a href="mailto:a.schwibbe@gmx.net">a.schwibbe@gmx.net</a> ha scritto:<br></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div>Dario,<br></div><div><br></div><div><br></div><div>Your fstab line includes mount option "noauto" so it won't automatically mount on boot!?<br></div><div><br></div><div>Try to remove noauto, reboot.<br></div><div><br></div><div>I usually only mount local gluster mount point with defaults,_netdev<br></div><div><br></div><div><br></div><div><br></div><div>Cheers<br></div><div><br></div><div><br></div><div>Andreas<br></div><div><br></div><div><br></div><div><br></div><div>"Dario Lesca" <a href="mailto:d.lesca@solinos.it">d.lesca@solinos.it</a>– 27. August 2021 16:38<br></div><div><br></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div>Hello everybody.<br></div><div><br></div><div><br></div><div>I have setup a glusterfs volume without problem, all work fine.<br></div><div><br></div><div>But if I reboot a node, when the node start the volume is not mounted.<br></div><div><br></div><div>If I access to the node via SSH and run "mount /virt-gfs/" the volume<br></div><div><br></div><div>is mounted correctly.<br></div><div><br></div><div><br></div><div>This is the /etc/fstab entry:<br></div><div><br></div><div>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<br></div><div><br></div><div><br></div><div>For testing, I have also set SElinux to "permissive" but none is<br></div><div><br></div><div>change.<br></div><div><br></div><div><br></div><div>Someone can help me?<br></div><div><br></div><div><br></div><div>If you need some other info, let me know<br></div><div><br></div><div><br></div><div>Many thanks<br></div><div><br></div><div><br></div><div><br></div><div><br></div></blockquote></blockquote></blockquote></blockquote></body></html>