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

Command Reference

OceanStor 18000 V3 Series V300R006

This document is applicable to OceanStor 18500 V3 and 18800 V3. Based on the CLI provided by DeviceManager, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.
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

  • In HyperMetro scenarios, if a failure message is prompted when deleting an NFS share, inconsistency between primary and secondary share permission lists may occur. You need to delete again until the operation succeeds to prevent inconsistency between primary and secondary share permission lists.

Example

  • Query NFS shares before the deletion.
    admin:/>show share nfs 
    Share ID File System ID Local Path CharSet Lock Type  Alias 
    -------- -------------- ---------- ------- ---------  ------ 
    1        1              /fs1/        UTF-8     Mandatory  /fs1 
    2        2              /fs2/        UTF-8     Mandatory  /fs2 
    3        4              /fs4/        UTF-8     Mandatory  /fs4 
    4        5              /fs5/        UTF-8     Mandatory  /fs5 
    5        6              /fs6/        UTF-8     Mandatory  /fs6 
    6        0              /fs110/      UTF-8     Mandatory  /fs110 
     
  • Delete an NFS share.
    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.
  • Query NFS shares after the deletion.
    admin:/>show share nfs 
    Share ID File System ID Local Path CharSet Lock Type  Alias 
    -------- -------------- ---------- ------- ---------  ------ 
    1        1              /fs1/        UTF-8     Mandatory  /fs1 
    2        2              /fs2/        UTF-8     Mandatory  /fs2 
    3      4              /fs4/        UTF-8     Mandatory  /fs4 
    4        5              /fs5/        UTF-8     Mandatory  /fs5 
    5        6              /fs6/        UTF-8     Mandatory  /fs6  
     

System Response

None

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138390

Views: 236572

Downloads: 150

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