Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Deleting a share

Deleting a share using the MMC  Top

To delete a share using the MMC, complete the following steps.

Step

Action

1

Connect to the storage system using the MMC as described in Connecting to the storage system using MMC.

2

Perform the following actions to delete a share:

  1. Click Computer Management, if it is not selected already.
  2. Double-click System Tools > Shared Folders > Shares.
  3. In the right panel, right-click the share that you want to delete.
  4. Select Stop Sharing from the drop-down list.
  5. Click Yes in the Stop Sharing confirmation window.

    Result: The selected share is removed from the list of shares in the right panel.

Deleting a share from the Data ONTAP command line  Top

To delete a share from the Data ONTAP command line, complete the following step.

Step

Action

1

Enter the following command:

cifs shares -delete [-f] sharename

-f forces all files closed on a share without prompting. This is useful for scripts.

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments