Unable to add RO and RW client to NFS share - 11.3

ratslayer

Cadet
Joined
May 29, 2016
Messages
2
I am migrating to a new 11.3 server from an old 9.2 server.
When I started setting up NFS shares I hit a snag.

I would like to have the following share settings:
  • RO to hostA and hostC
  • RW to hostD
  • Restrict all remaining hosts
This worked fine in 9.x by putting the following in the "Authorized Hosts and IP addresses":

hostD -ro hostA hostC

I have tried every combination I can think of but nothing seems to work. Am I doing something wrong or is this possibly a bug?

--ratslayer
 

KrisBee

Wizard
Joined
Mar 20, 2017
Messages
1,288
Create multiple nfs shares on the same path for each host setting ip and read only as necessary? Compare output of cat /etc/exports on 11.3 with 9.2
 

ratslayer

Cadet
Joined
May 29, 2016
Messages
2
Thanks @KrisBee that fixed it. I had tried that before but got an error. After further investigation I found one of the hosts was in both rules. This method seemed a little strange at first but it is growing on me. Change is good!
 
Top