[Gluster-users] RE : NFS mount

Alex Magnat alex.magnat at free.fr
Wed Aug 19 16:22:54 UTC 2015


Hi

Wich distribution You are ?

On debian, i have to install nfs-common, no have share in the /etc/exports, and autorize eache nodes to mount the volume  (auth.allow optipn of gluster).

Restart your gluster service and it will be ok

You can havea check on the volule too (gluster volume status )


Alex




<div>-------- Message d'origine --------</div><div>De : shacky <shacky83 at gmail.com> </div><div>Date :2015/08/19  17:41  (GMT+01:00) </div><div>À : gluster-users <gluster-users at gluster.org> </div><div>Objet : [Gluster-users] NFS mount </div><div>
</div>Hi list!

I created a new volume with replica 3 on 3 nodes connected with a
gigabit network.
I know gigabit is not the best for a distributed file system, but I
cannot have a 10G networking at the moment.

I was experiencing very hard performance problem (write speed at
5MB/sec) so I want to try with NFS on Gluster.

I enabled NFS on the volume:
# gluster volume set data nfs.disable off

And restarted rpcbind:

# service rpcbind restart
Stopping rpcbind daemon....
Starting rpcbind daemon....

And checked that the port 111 is listening:
# netstat -na|grep 111
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN
tcp        0      0 192.168.80.3:656        192.168.80.40:111       TIME_WAIT
tcp        0      0 192.168.80.3:748        192.168.80.40:111       TIME_WAIT
tcp        0      0 192.168.80.3:710        192.168.80.40:111       TIME_WAIT
tcp        0      0 192.168.80.3:814        192.168.80.40:111       TIME_WAIT
tcp        0      0 192.168.80.3:781        192.168.80.40:111       TIME_WAIT
tcp6       0      0 :::111                  :::*                    LISTEN
udp        0      0 0.0.0.0:111             0.0.0.0:*
udp6       0      0 :::111                  :::*

But I cannot still mount the volume using NFS:
# mount -t nfs localhost:data /mnt/data2-nfs/
mount.nfs: Connection timed out

Could you help me please?

Thank you very much!
Bye
_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org
http://www.gluster.org/mailman/listinfo/gluster-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150819/7b0c3f50/attachment.html>


More information about the Gluster-users mailing list