No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

OceanStor 2200 V3 and 2600 V3 Storage System V300R005 Command Reference

"Based on the CLI provided by the DeviceManager, this document describes how to use variouscommands classified by functions and how to set the CLI and manage the storage system throughthese commands."
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
delete share nfs

delete share nfs

Function

The delete share nfs command is used to delete an NFS share.

Format

delete share nfs share_id=?

Parameters

Parameter

Description

Value

share_id=? NFS share ID.

The value ranges from 1 to 18446744073709551615.

Level

Administrator

Usage Guidelines

This command does not support OceanStor 2200 V3 storage system.

Example

  • To query NFS shares before the deletion, run the following command:

    admin:/>show share nfs
    Share ID File System ID Local Path 
    -------- -------------- ---------- 
    1        1              / 
    2        2              / 
    3        4              / 
    4        5              / 
    5        6              / 
    6        0              /fs110/
  • To delete an NFS share, run the following command:

    admin:/>delete share nfs share_id=6
    WARNING: You are going to delete protocol share. This operation may interrupt share services or cause access exceptions.
    Suggestion: Before you perform this operation, determine whether the delete is necessary.
    Have you read warning message carefully?(y/n)y
    Are you sure you really want to perform the operation?(y/n)y
    Command executed successfully.
  • To query NFS shares after the deletion, run the following command:

    admin:/>show share nfs
    Share ID File System ID Local Path 
    -------- -------------- ---------- 
    1        1              / 
    2        2              / 
    3        4              / 
    4        5              / 
    5        6              /

System Response

None

Translation
Download
Updated: 2019-04-22

Document ID: EDOC1000106139

Views: 236009

Downloads: 168

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next