Transitioning From Oracle® Solaris 10 to Oracle Solaris 11.2

Exit Print View

Updated: December 2014
 
 

ZFS File System Sharing Changes

In Oracle Solaris 10, you set the sharenfs or sharesmb property to create and publish a ZFS file system share, or you can use the legacy share command.

In Oracle Solaris 11 11/11, the file sharing was enhanced and the command syntax changed. See Legacy ZFS Sharing Syntax in Managing ZFS File Systems in Oracle Solaris 11.2 .

    Starting with Oracle Solaris 11.1, ZFS file sharing includes the following additional enhancements:

  • Share syntax is simplified. You share a file system by setting the new share.nfs or share.smb property as follows:

    # zfs set share.nfs=on tank/home
  • Support for better inheritance of share properties to descendent file systems. In the previous example, the share.nfs property value is inherited to any descendent file systems. For example:

    # zfs create tank/home/userA
    # zfs create tank/home/userB
  • You can also specify additional property values or modify existing property values on any existing file system shares as follows:

    # zfs set share.nfs.nosuid=on tank/home/userA

These additional file sharing improvements are associated with pool version 34. See New ZFS Sharing Syntax in Managing ZFS File Systems in Oracle Solaris 11.2 .