[Gluster-users] nfs

Paul Cuzner pcuzner at redhat.com
Tue Feb 11 02:54:13 UTC 2014

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. 


Paul C 

----- Original Message -----

> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20140210/3229c127/attachment.html>

More information about the Gluster-users mailing list