NOTE:This value, along with the name of the NAS server, constitutes the export path by which hosts access the share.
-descr
Type a brief description of the share.
-fs
Type the file system ID of the parent file system associated with the CIFS share.
-fsName
Type the name of the parent file system associated with the CIFS share.
-path
Type the path to the directory within the file system that will be shared. This path must correspond to an existing directory/folder name within the share that was created from the host-side. The default path is the root of the file system. Local paths must point to an existing directory within the file system.
The same path on a file system can be shared an unlimited number of times, but each share name must be unique. The initial share will be created on the file system root directory.
Before you can create additional network shares or subdirectories within an NFS file system, you must create network shares or subdirectories within it from a Windows host that is connected to the file system. After a share has been created from a mounted host, you can create a corresponding share on the system and set access permissions accordingly.
NOTE: If you want to create the share in the default root path, enter "/" for this option.
-enableContinuousAvailability
Specify whether continuous availability is enabled.
-enableCIFSEncryption
Specify whether CIFS encryption is enabled.
-umask
Type the default Unix umask for new files created on the share.
-enableABE
Specify if Access-based Enumeration (ABE) is enabled. Valid values include:
yes
no (default)
-enableBranchCache
Specify if
BranchCache is enabled. Valid values include:
yes
no (default)
-offlineAvailability
Specify the type of offline availability. Valid values include:
none (default) — Prevents clients from storing documents and programs in offline cache.
documents — Allows all files that clients open to be available offline.
programs — Allows all programs and files that clients open to be available offline. Programs and files will open from offline cache, even when connected to the network.
manual — Allows only specified files to be available offline.
Example
The following command creates a CIFS share with these settings:
Name is CIFSshare.
Description is “My share.”
Associated to file system fs1, which has file system ID res_20.
Local path on the file system is root "/".
NOTE:It is not necessary to specify the full path if the path where you would like to create the share is already root. In those cases, enter "/" for the
-path.