[Gluster-users] autofs using glusterfs not NFS

Mike Hanby mhanby at uab.edu
Tue Aug 30 21:23:02 UTC 2011


Gluster clients and servers are CentOS 5.6 x86_64 using the 3.2.3 Gluster provided -core and -fuse RPMs.

I'm trying to use /etc/auto.home to automount my users home directories using glusterfs fuse client, and I keep getting "transport endpoint is not connected".

The summary: can successfully mount via glusterfs and nfs using /etc/fstab, and can successfully automount nfs via auto.home, cannot automount glusterfs via auto.home

/etc/auto.home using NFS mounts successfully and generally works, short of some locking and permissions issues.
*   192.168.1.11:/res/users/&

However, if I change to use glusterfs I get errors when attempting to mount (where res is the volume name, users is a directory in the root of the volume, and jdoe is the user name):

*   -fstype=glusterfs 192.168.1.11:/res/users/&

Here are the errors in the /var/log/gluster/home-jdoe.log
[2011-08-30 16:09:51.766158] E [glusterfsd-mgmt.c:628:mgmt_getspec_cbk] 0-glusterfs: failed to get the 'volume file' from server
[2011-08-30 16:09:51.766221] E [glusterfsd-mgmt.c:695:mgmt_getspec_cbk] 0-mgmt: failed to fetch volume file (key:/res/users/jdoe)
[2011-08-30 16:09:51.766345] W [glusterfsd.c:727:cleanup_and_exit] (-->/opt/glusterfs/3.2.3/lib64/libgfrpc.so.0(rpc_clnt_notify+0x8d) [0x2aef0ed4a66d] (-->/opt/glusterfs/3.2.3/lib64/libgfrpc.so.0(rpc_clnt_handle_reply+0xa2) [0x2aef0ed4a472] (-->/opt/glusterfs/3.2.3/sbin/glusterfs(mgmt_getspec_cbk+0x297) [0x408067]))) 0-: received signum (0), shutting down
[2011-08-30 16:09:51.766367] I [fuse-bridge.c:3724:fini] 0-fuse: Unmounting '/home/jdoe'.
[2011-08-30 16:09:54.813222] E [glusterfsd-mgmt.c:628:mgmt_getspec_cbk] 0-glusterfs: failed to get the 'volume file' from server
[2011-08-30 16:09:54.813287] E [glusterfsd-mgmt.c:695:mgmt_getspec_cbk] 0-mgmt: failed to fetch volume file (key:/res/users/jdoe)
[2011-08-30 16:09:54.813414] W [glusterfsd.c:727:cleanup_and_exit] (-->/opt/glusterfs/3.2.3/lib64/libgfrpc.so.0(rpc_clnt_notify+0x8d) [0x2b0f0a16e66d] (-->/opt/glusterfs/3.2.3/lib64/libgfrpc.so.0(rpc_clnt_handle_reply+0xa2) [0x2b0f0a16e472] (-->/opt/glusterfs/3.2.3/sbin/glusterfs(mgmt_getspec_cbk+0x297) [0x408067]))) 0-: received signum (0), shutting down
[2011-08-30 16:09:54.813433] I [fuse-bridge.c:3724:fini] 0-fuse: Unmounting '/home/jdoe'.
[2011-08-30 16:09:57.991818] E [glusterfsd-mgmt.c:628:mgmt_getspec_cbk] 0-glusterfs: failed to get the 'volume file' from server
[2011-08-30 16:09:57.991866] E [glusterfsd-mgmt.c:695:mgmt_getspec_cbk] 0-mgmt: failed to fetch volume file (key:/res/users/jdoe)
[2011-08-30 16:09:57.991988] W [glusterfsd.c:727:cleanup_and_exit] (-->/opt/glusterfs/3.2.3/lib64/libgfrpc.so.0(rpc_clnt_notify+0x8d) [0x2b8277fa966d] (-->/opt/glusterfs/3.2.3/lib64/libgfrpc.so.0(rpc_clnt_handle_reply+0xa2) [0x2b8277fa9472] (-->/opt/glusterfs/3.2.3/sbin/glusterfs(mgmt_getspec_cbk+0x297) [0x408067]))) 0-: received signum (0), shutting down
[2011-08-30 16:09:57.992009] I [fuse-bridge.c:3724:fini] 0-fuse: Unmounting '/home/jdoe'.

Anyone know if this is expected to work?
=================================
Mike Hanby
mhanby at uab.edu
UAB School of Engineering
Information Systems Specialist II
IT HPCS / Research Computing





More information about the Gluster-users mailing list