[Gluster-users] nfs

John G. Heim jheim at math.wisc.edu
Tue Feb 11 16:18:27 UTC 2014

It's just not clear in the documentation what it even means to say that 
nfs is enabled. Does that mean each peer becomes an nfs server?
Again,  the nfs port isn't open on any of the 51 peers in my cluster.  I 
take it that is an indication of a problem?

What if I join a machine that is already running nfs to the cluster?

On 02/10/14 20:54, Paul Cuzner wrote:
> Hi John,
> I think on gluster 3.3 and 3.4, nfs is enabled by default.
> nfs is actually a translator, so it's in the 'stack' already - this is
> why you don't need the nfs-kernel-server package.
> When mounting from a client, you just need to ensure the mount options
> are right
> i.e. use the following -o proto=tcp,vers=3   (for linux)
> The other consideration is that by default the volume will expose 64bit
> inodes - if you have a 32bit apps, or OS you'll need to tweak the
> gluster volume with "vol set <vol> nfs.enable-ino32 on"
> I haven't got a 3.3 system handy, but on a 3.4 system if you run the
> following
> gluster vol set help | grep "^Option: nfs."
> you'll get a view of all the nfs tweaks that can be made with the
> translator.
> Cheers,
> Paul C
> ------------------------------------------------------------------------
>     *From: *"John G. Heim" <jheim at math.wisc.edu>
>     *To: *"gluster-users" <gluster-users at gluster.org>
>     *Sent: *Friday, 7 February, 2014 9:52:44 AM
>     *Subject: *[Gluster-users] nfs
>     Maybe this is a dumb question but do I have to set up an nfs server on
>     one of the server peers in my gluster volume in order to connect to
>       the
>     volume with nfs?  I did a port scan on a couple of the peers in my
>     cluster and port 2049 was cloased. I'm thinking maybe you have to
>     configure an nfs server on one of the peers and it can read/write to
>     the
>     gluster volume like it would any disk. But then what do  these
>       commands do:
>        gluster volume set <VOLNAME> nfs.disable off
>        gluster volume set <VOLNAME> nfs.disable on
>     The  documentation on the gluster.org web site seems to imply that yu
>     don't need an nfs server. It specifically says you need the nfs-common
>     package on your servers. That would imply you don't need the
>     nfs-kernel-server package, right? See:
>     http://gluster.org/community/documentation/index.php/Gluster_3.2:_Using_NFS_to_Mount_Volumes
>     _______________________________________________
>     Gluster-users mailing list
>     Gluster-users at gluster.org
>     http://supercolony.gluster.org/mailman/listinfo/gluster-users

John G. Heim, 608-263-4189, jheim at math.wisc.edu

More information about the Gluster-users mailing list