[Gluster-users] nfs

Justin Clift justin at gluster.org
Mon Feb 10 13:23:11 UTC 2014


On Thu, 06 Feb 2014 14:52:44 -0600
"John G. Heim" <jheim at math.wisc.edu> wrote:
> 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?

In theory, NFS is supposed to be enabled/running by default.

Which version(s) of Gluster are use using?


> I did a port scan on a couple of the peers in my 
> cluster and port 2049 was cloased.

If you run "gluster volume status", what does it show?

> 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

Yeah, they're more for disabling that NFS server that's
on by default, for the people that don't want it. :)


> 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

This bit I'm not sure of.  I'm using NFS purely for doing testing in
a local VM (Gluster 3.4 and Gluster 3.5 dev), and haven't used it
in any real world scenario's yet. :(

Does that help?

Regards and best wishes,

Justin Clift

-- 
GlusterFS Project: http://www.gluster.org
Justin Clift <justin at gluster.org>



More information about the Gluster-users mailing list