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 (email@example.com)
COMMIT: http://review.gluster.org/8373 committed in master by Vijay Bellur (firstname.lastname@example.org)
Author: Anders Blomdell <email@example.com>
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
Signed-off-by: Anders Blomdell <firstname.lastname@example.org>
Reviewed-by: Harshavardhana <email@example.com>
Tested-by: Gluster Build System <firstname.lastname@example.org>
Reviewed-by: Humble Devassy Chirammal <email@example.com>
Reviewed-by: Vijay Bellur <firstname.lastname@example.org>
For reference, this is how I use autofs:
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 , 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.