You can add, view, and update SMB shares. A directory must exist before it can be shared. For more information about SMB shares, see SMB Shares.
The Oracle Solaris OS introduced a new method for sharing and managing SMB and NFS shares. The
zfs command has been enhanced to manage shares and share properties on Oracle Solaris ZFS file systems. The
zfs command now supports SMB and NFS sharing by means of the
share.nfs properties. For information about Oracle Solaris command syntax, see Sharing and Unsharing ZFS File Systems in Managing ZFS File Systems in Oracle Solaris 11.4.
sharemgr command is no longer available to manage SMB shares. Instead, use the enhanced
unshare commands. Also, the automatic sharing of SMB and NFS shares is managed by SMF rather than by the legacy
/etc/dfs/dfstab file, which has been removed.
You can continue to use the legacy file-sharing method to manage shares on file servers that run previous versions of the Oracle Solaris OS. For information about the differences between the new and legacy file-sharing methods, see Sharing and Unsharing ZFS File Systems in Managing ZFS File Systems in Oracle Solaris 11.4.