Red Hat Bugzilla – Bug 1004795
glusterd.service (systemd), ensure glusterd starts before any local gluster or nfs mounts
Last modified: 2014-04-17 07:47:24 EDT
Description of problem: Users who mount gluster volumes locally, i.e. on the brick server, from /etc/fstab usually have the mount fail because glusterd isn't started early enoujgh and thus hasn't started the glusterfsds.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Also need to use _netdev as an option for glusterfs native mounts. systemd recognizes nfs and implicitly applies _netdev semantics.
REVIEW: http://review.gluster.org/5823 (glusterd.service (systemd), ensure glusterd starts before local mounts) posted (#1) for review on master by Kaleb KEITHLEY (firstname.lastname@example.org)
REVIEW: http://review.gluster.org/5823 (glusterd.service (systemd), ensure glusterd starts before local mounts) posted (#2) for review on master by Kaleb KEITHLEY (email@example.com)
COMMIT: http://review.gluster.org/5823 committed in master by Anand Avati (firstname.lastname@example.org)
Author: Kaleb S. KEITHLEY <email@example.com>
Date: Thu Sep 5 10:14:08 2013 -0400
glusterd.service (systemd), ensure glusterd starts before local mounts
NOTICE: this patch was accepted onto the release-3.4 branch for 3.4.1,
but this same patch for master is languishing here in review.
Try (emphasis on the try) to ensure that glusterd starts, and in turn
starts glusterfsd before init attempt to mount any gluster (or gluster
NFS) volumes in /etc/fstab.
N.B. Joe Julian says this doesn't fix the problem for him, although it
worked for me in kvm. Lennart Poettering says it should, and we should
file a BZ against systemd if it doesn't. See
Signed-off-by: Kaleb S. KEITHLEY <firstname.lastname@example.org>
Tested-by: Gluster Build System <email@example.com>
Reviewed-by: Anand Avati <firstname.lastname@example.org>
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.5.0, please reopen this bug report.
glusterfs-3.5.0 has been announced on the Gluster Developers mailinglist , packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist  and the update infrastructure for your distribution.