<div dir="ltr"><div><div><div>I use a systemd file in /etc/systemd/system such as the attached. 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"><<a href="mailto:malamut@ubuntu.com" target="_blank">malamut@ubuntu.com</a>></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>