root access to zfs datasets shared over NFS

Friday, April 11 2008 @ 12:21 AM BST

Contributed by: robin

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=@,root=@ space

This gives full access for root users on any machine in the subnet to the zfs dataset "space".

Comments (0)