Table of ContentsView in Frames

Deleting a share from the Data ONTAP command line

You can use the cifs shares command to delete a share from the Data ONTAP command line.

Step

  1. Enter the following command: cifs shares -delete [-f] sharename

    -f option forces all files closed on a share without prompting. This is useful when using the command in scripts.

    sharename specifies the name of the share you want to delete.