Table of ContentsView in Frames

Creating a CIFS share from the Data ONTAP command line

You can create a CIFS share from the Data ONTAP command line by using the cifs shares -add command.

Step

  1. To create a CIFS share, enter the following command:
    cifs shares -add shareName path

    shareName specifies the name of the new CIFS share.

    path specifies the path to the share. Path separators can be backward or forward slashes, although Data ONTAP displays them as forward slashes.

    For more information, see the na_cifs_shares(1) man page.

Example

The following command creates a "webpages" share that is accessible on the web in the /vol/vol1/companyinfo directory with a maximum of 100 users and in which all files that CIFS users create are owned by all users:

cifs shares -add webpages /vol/vol1/companyinfo -comment "Product Information" -forcegroup webgroup1 -maxusers 100