<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>hi,</div><div>&nbsp;I'm experience a similar issue.</div><div>I'm tetsting glusterfs on a two-sided mirror, on zol.</div><div>I got several volumes (each on it's own zfs-filesystem)</div><div>mount -a works fine,</div><div>but after a reboot</div><div>all the zfs filesystems are present but only</div><div>an &nbsp;arbitrary amount of glusterfs got mounted</div><div>(like 2 random out of 6)</div><div>me I so far circumvented that by</div><div>abandon fstab for that purpose and using an rc script</div><div>(S99, K20) for the glustermount,</div><div>allowing a "sleep 30" gracetime, than mounting the glustervolumes</div><div>( on a two sided mirror I mount "my-ip:/volumename /my-mountpoint"&nbsp;</div><div>in contrast to "mirror-ip:/volumename /my-mountpoint")</div><div>All glustervolumes get mounted fine than.</div><div>AFAIK option _netdev in fstab should have done the job,</div><div>but in my case it didn't, I thought maybe due to zol.</div><div>Anyhow, 30 sec gracetime does the job,</div><div>piked 30 sec just arbitrary, might be too much even...</div><div>best</div><div>Bernhard</div><div><br>On 13.12.2013, at 17:40, Joel Young &lt;<a href="mailto:jdy@cryregarder.com">jdy@cryregarder.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div><div><div>I use a systemd file in /etc/systemd/system such as the attached.&nbsp; You also want to make sure you've done an<br><br><a href="http://www.linkedin.com/in/joeldyoung/" title="View public profile" name="webProfileURL"></a>systemctl enable NetworkManager-wait-online.service<br>
</div>systemctl enable work.mount<br></div>systemctl start work.mount<br><br></div>Joel<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Dec 7, 2013 at 9:33 AM, Vadim Nevorotin <span dir="ltr">&lt;<a href="mailto:malamut@ubuntu.com" target="_blank">malamut@ubuntu.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello!</div><div><br></div><div>I need to mount glusterfs from localhost. So both server and client are on the same host.</div>
<div><br></div><div>I've add to fstab</div><div><br></div><div>localhost:/srv_tftp     /srv/tftp       glusterfs       defaults,_netdev        0       0</div>
<div><br></div><div>Then</div><div><br></div><div>mount -a</div><div><br></div><div>Ok, in this case all work great. But after reboot nothing is mounted, because GlusterFS server starts after network and after remote FS.</div>

<div><br></div><div>Is there any solutions to fix this problem? I use Debian, but I think that the same problem is in all other distros. As I understand it's impossible to execute init script after network is ready, but before remote fs are mounted. It can fix the problem, but may be there is some different solution?</div>

</div>
<br>_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><br></blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div>&lt;work.mount&gt;</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Gluster-users mailing list</span><br><span><a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a></span><br><span><a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a></span></div></blockquote></body></html>