[Gluster-users] AutoFS NFS Problems

Chris LeBlanc chris at blendedby.us
Wed Jun 13 07:36:29 UTC 2012


What I found guys is that I can't mount using the local gluster peer address for some odd reason.

I ended up doing this…

on "sld-web-4"
/srv   -rw,fstype=nfs,nfsvers=3,mountproto=tcp,noatime,nodiratime      sld-web-3:/srv

on "sld-web-3"
/srv   -rw,fstype=nfs,nfsvers=3,mountproto=tcp,noatime,nodiratime      sld-web-4:/srv

Any reason why you guys can think of?


On Sunday, June 10, 2012 at 10:36 AM, Mailing Lists wrote:

> Sorry, sent to fast :-)
>  
> Here is what I use in the fstab :
>  
> gluster.server.tld:/volume /mnt nfs defaults,_netdev,mountproto=tcp 0 0
>  
> Meanwhile, on Debian, the mount is sometime not done at boot and I should use mount /mnt. I not sure that is related to GlusterFs because I've sometimes the same issue with other NFS servers.
>  
> In an openVz container, the mount is done at each boot !
>  
> Best regards.
>  
> Michel
>  
> ----- Mail original -----
> De: "Whit Blauvelt" <whit.gluster at transpect.com (mailto:whit.gluster at transpect.com)>
> À: "Chris LeBlanc" <chris at blendedby.us (mailto:chris at blendedby.us)>
> Cc: gluster-users at gluster.org (mailto:gluster-users at gluster.org)
> Envoyé: Dimanche 10 Juin 2012 14:52:28
> Objet: Re: [Gluster-users] AutoFS NFS Problems
>  
> Don't know if "proto" is a synonym. But in my working auto.fs mounts I have
> "mountproto=tcp" not proto.  
>  
> Whit
>  
> On Sun, Jun 10, 2012 at 04:33:50AM -0500, Chris LeBlanc wrote:
> > Hi friends,
> >  
> > I'd like to use autofs but I had mixed luck. It seems as thought it mounts
> > itself instead of the gluster volume which leads me to believe it's not using
> > the correct NFS protocol.
> >  
> > auto.master
> > /- /etc/auto.srv
> >  
> > auto.srv
> > /srv -fstype=nfs,nfsvers=3,rw,proto=tcp sld-web-3:/srv
> >  
> > I've tried all sorts of variations for options in auto.srv, tried
> > adding MOUNT_NFS_DEFAULT_PROTOCOL=3 to auto.master (not sure if that's where I
> > should be putting that), and even saw somewhere to add vers=3 to the right of
> > the auto.master direct mount .
> >  
> > I'm using cluster 3.2.5 and Ubuntu Precise.
> >  
> > Many thanks for your help.
> >  
> > --  
> > Chris LeBlanc
> >  
>  
>  
> > _______________________________________________
> > Gluster-users mailing list
> > Gluster-users at gluster.org (mailto:Gluster-users at gluster.org)
> > http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
> >  
>  
>  
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org (mailto:Gluster-users at gluster.org)
> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org (mailto:Gluster-users at gluster.org)
> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org (mailto:Gluster-users at gluster.org)
> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
>  
>  


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20120613/a75a4f35/attachment.html>


More information about the Gluster-users mailing list