Open topic with navigation

Disconnected: You’re looking at a local copy of the Appliance Controller Documentation Center. The most current version is online at www.quantum.com/accdocs.

# Delete Shares

You can remove SMB and NFS shares from the StorNext NAS configuration, and in turn, prohibit the shares from being exported from StorNext NAS. Removing SMB and NFS shares from the configuration does not remove the share directory or any of its files.

Caution

- The Appliance Controller manages the smb.conf and /etc/exports files for StorNext NAS. Any edits you make directly to either of these files are lost when you restart the Appliance Controller, or when you make a change using any of the `share` commands.

- When you make a change to an SMB share, its existing connection might be impacted and depending on the SMB client, it is possible to disconnect from that share.

Note: For a list of all the Appliance Controller commands, see the Command Index.

To delete a share:

1. Log in to the Appliance Controller CLI.
2. At the prompt, enter the following:

   share delete <share_type> <share_name> [force]

   The parameters are:

   `<share_type>` | The type of share, either`nfs` or`smb`.
   `<share_name>` | The alias name of the share to delete.
   `[force]` | If this option is not included, then you must confirm deletion of the share. If this option is included, then the specified share is deleted without confirmation.

   Example: (delete myshare2):

   > share delete nfs myshare2 force

   Share myshare2 successfully deleted

6-68456-07_RevA | Initial publication date: Friday, December 22, 2017 | Last updated on Monday, January 12, 2026.

Open topic with navigation