Re: Mount GlusterFS from localhost

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.mount
systemctl start work.mount

Joel


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 fstab

localhost:/srv_tftp /srv/tftp glusterfs defaults,_netdev 0 0

Then

mount -a

Ok, 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

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux