hi, I'm experience a similar issue. I'm tetsting glusterfs on a two-sided mirror, on zol. I got several volumes (each on it's own zfs-filesystem) mount -a works fine, but after a reboot all the zfs filesystems are present but only an arbitrary amount of glusterfs got mounted (like 2 random out of 6) me I so far circumvented that by abandon fstab for that purpose and using an rc script (S99, K20) for the glustermount, allowing a "sleep 30" gracetime, than mounting the glustervolumes ( on a two sided mirror I mount "my-ip:/volumename /my-mountpoint" in contrast to "mirror-ip:/volumename /my-mountpoint") All glustervolumes get mounted fine than. AFAIK option _netdev in fstab should have done the job, but in my case it didn't, I thought maybe due to zol. Anyhow, 30 sec gracetime does the job, piked 30 sec just arbitrary, might be too much even... best Bernhard
On 13.12.2013, at 17:40, Joel Young <[email protected]> wrote: > 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 <[email protected]> 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 >> [email protected] >> http://supercolony.gluster.org/mailman/listinfo/gluster-users > > <work.mount> > _______________________________________________ > Gluster-users mailing list > [email protected] > http://supercolony.gluster.org/mailman/listinfo/gluster-users
_______________________________________________ Gluster-users mailing list [email protected] http://supercolony.gluster.org/mailman/listinfo/gluster-users
