Re: nfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx>
To: "gluster-users" <gluster-users@xxxxxxxxxxx>
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@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux