Description of problem: It's not possible to directly use localdir -fstype=glusterfs host:/remote/dir in linux automounter maps since automounter will translate this to /sbin/mount.glusterfs host:/remote/dir /localdir -n -o rw and -n is not handled by /sbin/mount.glusterfs.
REVIEW: http://review.gluster.org/8373 (Allow gluster to be used with linux automounter) posted (#1) for review on master by Anders Blomdell (anders.blomdell.se)
COMMIT: http://review.gluster.org/8373 committed in master by Vijay Bellur (vbellur) ------ commit f8496dab2f6111bdc5ced0881d15061160b76e52 Author: Anders Blomdell <anders.blomdell.se> Date: Thu Jul 24 16:55:45 2014 +0200 Allow gluster to be used with linux automounter Added (ignored) -n option to mount.glusterfs command Change-Id: I9209da215d38507cd9d01b1e9af4aecff4414f83 BUG: 1123004 Signed-off-by: Anders Blomdell <anders.blomdell.se> Reviewed-on: http://review.gluster.org/8373 Reviewed-by: Harshavardhana <harsha> Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Humble Devassy Chirammal <humble.devassy> Reviewed-by: Vijay Bellur <vbellur>
Nice! For reference, this is how I use autofs: - http://blog.nixpanic.net/2014/04/configuring-autofs-for-glusterfs-35.html
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.7.0, please open a new bug report. glusterfs-3.7.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939 [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user