local mounts failing using systemd during bootstrapping gluster

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

 



Good day,


This problem with GlusterFS arises specifically during bootstrapping of the cluster, ie. configure 3 VMs and the volume (2replicas and the arbiter) test it working, do local mount and setting it up in /etc/fstab. Once everything works, shutdown all the VMs in the cluster, and then start all of them together.

The expected result would’ve been that the /etc/fstab local fuse mount will all be mounted correctly, but only one or perhaps two, if at all, gets mounted. the problem being that the mount “failed”, doesn’t retry etc.

The hack around it, I used a SystemD service that , as a pre-exec mount the gluster volume through the systemd .mount mechanism, but then checks a directory inside the expected mount, and will then fail if that mount doesn't exists.

So, how do others solve this bootstrap mounting problem of GlusterFS local mounts on SystemD systems?

HEndrik


_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://lists.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