Re: [Gluster-devel] How use Gluster/NFS

2016-04-29 Thread Kaleb S. KEITHLEY
On 04/29/2016 07:34 AM, Rick Macklem wrote:
> 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?

The default for nfs.disable is _only_ changing starting with GlusterFS-3.8.

GlusterFS-3.8 HASN'T BEEN RELEASED YET.

IOW the default for nfs.disable has _not_ changed in GlusterFS-3.7 and
nfs.register-with-portmap _remains_ enabled by default; and will remain
enabled by default even in GlusterFS-3.8.


-- 

Kaleb
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel


Re: [Gluster-devel] How use Gluster/NFS

2016-04-29 Thread Rick Macklem
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 13, trying vers=3, prot=6
> mount.nfs: prog 13, 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
> 10 4 tcp 111 portmapper
> 10 3 tcp 111 portmapper
> 10 2 tcp 111 portmapper
> 10 4 udp 111 portmapper
> 10 3 udp 111 portmapper
> 10 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@gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-devel
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel


[Gluster-devel] How use Gluster/NFS

2016-04-29 Thread ABHISHEK PALIWAL
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

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 13, trying vers=3, prot=6
mount.nfs: prog 13, 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
104   tcp111  portmapper
103   tcp111  portmapper
102   tcp111  portmapper
104   udp111  portmapper
103   udp111  portmapper
102   udp111  portmapper
1000241   udp  53564  status
1000241   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@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel