root access to zfs datasets shared over NFS
robin Friday, April 11 2008 @ 12:21 AM BST Views: 21,064
One of the great things about zfs on Solaris is how it integrates with NFS, thus making it very easy to manage NFS shares.
By default, the root user on a client machine has restricted access to an NFS-mounted share.
Here's how to grant full access to local root users to NFS mounts:
zfs set sharenfs=rw=@192.168.1.0/24,root=@192.168.1.0/24 space
This gives full access for root users on any machine in the 192.168.1.0/24 subnet to the zfs dataset "space".
By default, the root user on a client machine has restricted access to an NFS-mounted share.
Here's how to grant full access to local root users to NFS mounts:
zfs set sharenfs=rw=@192.168.1.0/24,root=@192.168.1.0/24 space
This gives full access for root users on any machine in the 192.168.1.0/24 subnet to the zfs dataset "space".