[Gluster-users] [Gluster-devel] How use Gluster/NFS

Rick Macklem rmacklem at uoguelph.ca
Fri Apr 29 11:34:41 UTC 2016


Abhishek Paliwal wrote:
> Hi Team,
> 
> I want to use gluster NFS and export this gluster volume using 'mount -t nfs
> -o acl' command.
> 
> i have done the following changes:
> 1. Enable the NFS using nfs.disable off
> 2. Enable the ACL using nfs.acl on
> 3. RPCbind is also running
> 4. Kernel NFS is stopped
> 
You could try setting
 nfs.register-with-portmap on
I thought it was enabled by default, but maybe that changed
when the default for nfs.disable changed?

Good luck with it, rick

> But still getting follows errors:
> 
> mount.nfs: mount(2): Connection refused
> mount.nfs: portmap query retrying: RPC: Program not registered
> 
> mount.nfs: portmap query failed: RPC: Program not registered
> 
> mount.nfs: requested NFS version or transport protocol is not supported
> mount.nfs: timeout set for Fri Apr 29 06:13:25 2016
> mount.nfs: trying text-based options
> 'acl,vers=4,addr=10.32.0.48,clientaddr=10.32.0.48'
> mount.nfs: trying text-based options 'acl,addr=10.32.0.48'
> mount.nfs: prog 100003, trying vers=3, prot=6
> mount.nfs: prog 100003, trying vers=3, prot=17
> 
> After execute the mount command as follows:
> 
> mount -v -t nfs -o acl 10.32.0.48:/opt/lvmdir/c2/brick /tmp/p
> 
> #rpcinfo -p output
> 
> # rpcinfo -p
> program vers proto port service
> 100000 4 tcp 111 portmapper
> 100000 3 tcp 111 portmapper
> 100000 2 tcp 111 portmapper
> 100000 4 udp 111 portmapper
> 100000 3 udp 111 portmapper
> 100000 2 udp 111 portmapper
> 100024 1 udp 53564 status
> 100024 1 tcp 60246 status
> 
> 
> Showing no open port for GLuster/NFS so please tell me the steps to enable
> the Gluster/NFS
> 
> 
> --
> 
> 
> 
> 
> Regards
> Abhishek Paliwal
> 
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-devel


More information about the Gluster-users mailing list