![]() Use the zfs set share command to create an NFS or SMB share of ZFSįile system and also set the sharenfs property. Set property is also set on the file system. The share is not published until the sharenfs The new zfs set share command is used to share a ZFS file system over Set the 'share' property and set property onĪll methods publish the file system shares immediately. Use share(1M) to share this filesystem, or The zfs share command cannot be used to initially share a file system until the sharenfs property is set. The above syntax is identical to sharing a UFS file system: # share -F nfs /ufsfs Use the share command to share a file system.įor example, to share a ZFS file system: # share -F nfs /tank/zfsfs Legacy sharing syntax is still supported. If a descendent file system is created with an inherited sharenfs property set to on, then a share is created for the new descendent file system. The share -a command is like the share -ap command so that the file system share is persistent.ĭescendent file systems do not inherit share properties. SMF manages ZFS or UFS share information so that file systems are shared automatically when the system is rebooted, similar to the way ZFS mount and share information is managed. The /etc/dfs/dfstab file still exists but modifications are ignored. The legacy share command and the sharenfs property are still available. The sharemgr interface is no longer available. The zfs set share command replaces the sharemgr interface for sharing ZFS file systems. The primary new sharing differences are as follows: This section details some of the differences between the new sharing syntax and None of the defined shares are removed when the zfs unshare command is issued, and are re-shared the next time the zfs share command is issued. These shares remain unshared until the zfs share command is issued for the file system. When the zfs unshare command is issued, all published shares for the file system are unpublished. None of the defined shares are removed when the property is set to off and are re-shared the next time the sharenfs or sharesmb property is set to on. These shares remain unshared until the sharenfs or sharesmb property is set to on. When the sharenfs or sharesmb property is set to off, all published shares for the file system (and all descendent file systems inheriting the property) are unpublished for the appropriate protocol. The mount point of the file system is only shared if a share exists that explicitly shares it. If shares are defined for the file system, then only those shares are published. If no shares are defined, the file system is not shared. All defined shares are also published when the zfs share command is issued. When the sharenfs or sharesmb property is set to on, all defined shares for the file system (and all descendent file systems inheriting the property) are published for the appropriate protocol. This property is inheritable by descendent file systems. The existing sharesmb property controls whether the file system is published over SMB. The existing sharenfs property controls whether the file system is published over NFS. The interaction between the defined shares and the sharenfs and sharesmb properties zfs/share directory with the name of the share. Multiple SMB paths can be can be defined for a single directory path. Multiple shares can be defined per file system, but a share name is used to uniquely identify each share.Ī share can define options for both NFS and SMB sharing. Using a separate command to create a share provides the following features:ĭefines the options that are used to share a particular path in a file system. In this Solaris release, you create a ZFS file system share andĬreate the file system share and define the NFS or SMB share properties by using the zfs share command. Managing Oracle Solaris ZFS File SystemsĬreating, Destroying, and Renaming ZFS File Systems Managing Oracle Solaris ZFS Storage PoolsĦ. Oracle Solaris ZFS and Traditional File System DifferencesĤ. Getting Started With Oracle Solaris ZFSģ. Oracle Solaris ZFS File System (Introduction)Ģ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |