Thanks, it does work if we mount the volume via glusterfs and then do the 
automount of home out of that directory:

full volume mounted:
/res

auto.home
*   localhost:/res/users/&

It's a work around at least, while still being able to use the fuse client.

Mike

From: Luis Cerezo [mailto:[email protected]]
Sent: Tuesday, August 30, 2011 4:41 PM
To: Mike Hanby
Cc: [email protected]
Subject: Re: [Gluster-users] autofs using glusterfs not NFS

the splat won't work. we have had the same issue. we moved homes to a direct 
mount.


On Aug 30, 2011, at 4:23 PM, Mike Hanby wrote:


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
[email protected]<mailto:[email protected]>
UAB School of Engineering
Information Systems Specialist II
IT HPCS / Research Computing


_______________________________________________
Gluster-users mailing list
[email protected]
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users

Luis E. Cerezo

http://www.luiscerezo.org<http://www.luiscerezo.org/>
http://twitter.com/luiscerezo
http://flickr.com/photos/luiscerezo
Voice: 412 223 7396
Photo web store
http://photos.luiscerezo.org

_______________________________________________
Gluster-users mailing list
[email protected]
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users

Reply via email to