Table of ContentsView in Frames

Changing the properties of a share from the Data ONTAP command line

You can change the properties of a share from the Data ONTAP command line by using the cifs shares command.

Step

  1. Enter the following command: cifs shares -change sharename {-browse | -nobrowse} {-comment desc | -nocomment} {-maxusers userlimit | -nomaxusers} {-forcegroup groupname | -noforcegroup} {-widelink | -nowidelink} {-symlink_strict_security | -nosymlink_strict_security} {-vscan | -novscan} {-vscanread | -novscanread} {-umask mask | -noumask {-no_caching | -manual_caching | -auto_document_caching | -auto_program_caching}

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

    Note: You can use the question mark and asterisk characters as wildcards in the sharename to change the properties of multiple shares simultaneously. For example, to disable virus scanning of any file that a client opens in any share, enter the following command: cifs shares -change * -novscan

    Specifying -nocomment, -nomaxusers, -noforcegroup, and -noumask clears the share's description, maximum number of users, forcegroup, and umask values, respectively.