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

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