Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell Unity™ Family Unisphere® Command Line Interface User Guide

Create CIFS network shares

Create a CIFS (SMB) share to export a file system through the CIFS protocol.

Prerequisite

Configure a file system to which to associate the CIFS network shares. Create file systems explains how to create file systems on the system.

Format

/stor/prov/fs/cifs create [-async] –name <value> [-descr <value>] {-fs <value> | -fsName <value>} -path <value> [-enableContinuousAvailability {yes|no}] [-enableCIFSEncryption {yes|no}] [-umask <value> ] [-enableABE {yes | no} ] [-enableBranchCache {yes | no}] [-offlineAvailability {none | documents | programs | manual} ]

Action qualifiers

QualifierDescription
-asyncRun the operation in asynchronous mode.
-nameType a name for the share.
NOTE:This value, along with the name of the NAS server, constitutes the export path by which hosts access the share.
-descrType a brief description of the share.
-fsType the file system ID of the parent file system associated with the CIFS share.
-fsNameType the name of the parent file system associated with the CIFS share.
-pathType 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.
-enableContinuousAvailabilitySpecify whether continuous availability is enabled.
-enableCIFSEncryptionSpecify 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)
-enableBranchCacheSpecify if BranchCache is enabled. Valid values include:
  • yes
  • no (default)
-offlineAvailabilitySpecify 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.
  • Continuous availability is enabled.
  • CIFS encryption is enabled.

The share receives ID CIFSShare_1:

uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /stor/prov/fs/cifs create –name CIFSshare -descr “My share” –fs res_20 -path ”/” -enableContinuousAvailability yes -enableCIFSEncryption yes
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection

ID = CIFS_1
Operation completed successfully.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\