I use a systemd file in /etc/systemd/system such as the attached. You also want to make sure you've done an
systemctl enable NetworkManager-wait-online.service
systemctl enable work.mountsystemctl enable NetworkManager-wait-online.service
On Sat, Dec 7, 2013 at 9:33 AM, Vadim Nevorotin <malamut@xxxxxxxxxx> wrote:
Hello!I need to mount glusterfs from localhost. So both server and client are on the same host.I've add to fstablocalhost:/srv_tftp /srv/tftp glusterfs defaults,_netdev 0 0Thenmount -aOk, in this case all work great. But after reboot nothing is mounted, because GlusterFS server starts after network and after remote FS.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?
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users
Attachment:
work.mount
Description: Binary data
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://supercolony.gluster.org/mailman/listinfo/gluster-users