[Gluster-users] autofs using glusterfs not NFS
Mike Hanby
mhanby at uab.edu
Tue Aug 30 21:58:57 UTC 2011
/etc/fstab
192.168.1.11:/res /res glusterfs defaults,_netdev 0 0
/etc/master
/home /etc/auto.home --timeout=1200
/etc/auto.home
* localhost:/res/users/&
That's it, works like a champ. Otherwise I have to do a lot of /etc/passwd hackery, which isn't something I'd like to do :-)
From: Luis Cerezo [mailto:lec at luiscerezo.org]
Sent: Tuesday, August 30, 2011 4:52 PM
To: Luis Cerezo
Cc: Mike Hanby; gluster-users at gluster.org
Subject: Re: [Gluster-users] autofs using glusterfs not NFS
how's mount output look. I didn't think about the double mount..
On Aug 30, 2011, at 4:41 PM, Luis Cerezo wrote:
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
mhanby at uab.edu<mailto:mhanby at uab.edu>
UAB School of Engineering
Information Systems Specialist II
IT HPCS / Research Computing
_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org<mailto:Gluster-users at gluster.org>
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<http://photos.luiscerezo.org/>
_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org<mailto:Gluster-users at gluster.org>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20110830/d06384b0/attachment.html>
More information about the Gluster-users
mailing list