solaris 11 zfs share read only to specific hosts
On a server (called myserver in the example below) I am trying to set up an NFS share of a folder called folder1, which is located in a zfs data set called backup_area/data1 mounted on /backup_area/data1 on a Solaris 11.2 server.
I have managed to set the share up so all hosts can write to it if I don't specify hosts with -o :
share -F nfs -d "backup share" /backup_area/data1/folder1
However, I want to restrict this to one host only. I have tried various ways of doing this - the legacy method with :
share -F nfs -o ro,rw=<myclient> -d "backup share" /backup_area/data1/folder1