Hide Forgot
root@openstack2:~# gluster volume set vol nfs.rpc-auth-allow 192.168.1.91 Set volume successful root@openstack2:~# gluster volume set vol nfs.rpc-auth-reject 192.168.1.91 Set volume successful root@openstack2:~# gluster volume info vol Volume Name: vol Type: Distribute Status: Started Number of Bricks: 1 Transport-type: tcp Bricks: Brick1: openstack2:/home/gluster/bricks/vol/v1 Options Reconfigured: nfs.rpc-auth-reject: 192.168.1.91 nfs.rpc-auth-allow: 192.168.1.91 features.quota-timeout: 12
The volume set of one option(auth.allow in this case) should not depend on the value of other options. If there are any conflicts with the meaning of the options, there should be a precedence of which option would preside over the other. In this case the desired behavior of brick servers(or nfs-server) is to accept the client connection only if it does not match any of reject predicates and has a match in one of the accept predicates.