Command Reference A-15
filer> cifs shares news
Name Mount Point Description
---- ----------- -----------
NEWS /vol/vol0/news News
DOMAIN\Guests / No Access
everyone / Read
Creating new shares
To create a new share, use the -add option:
cifs shares -add sharename path
[ -comment description ]
[ -maxusers userlimit ]
[ -forcegroup groupname ]
sharename name of the new share; clients use this name to access the share.
path full path name of the directory on the filer that corresponds to the
root of the new share.
-comment description
description of the new share. CIFS clients see this description when brows-
ing the filers shares. If the description includes spaces, it must be enclosed
in double quotation marks. If you do not specify a description, the descrip-
tion is blank.
-maxusers userlimit
maximum number of simultaneous connections to the new share.
userlimit
must be a positive integer. If you do not specify a number, the filer does not
impose a limit on the number of connections to the share.
-forcegroup groupname
name of the group to which files to be created in the share belong. The
groupname is the name of a group in the UNIX group database.
Deleting existing shares
To delete a share, use the -delete option:
cifs shares -deletesharename
sharename is the name of the share to be deleted. A share cannot be deleted if it
is in use.
cifs shares