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

ES3000 V3 NVMe PCIe SSD User Guide 20

This document provides the product information about the Huawei ES3000 V3 PCIe SSD (ES3000 V3 for short) and describes how to install, configure, operate, and maintain the ES3000 V3.
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).
Detaching a Namespace from an NVMe Controller

Detaching a Namespace from an NVMe Controller

Function

This command is used to detach a namespace from an NVMe controller.

Format

hioadm namespace -d devicename -t operationtype -i namespaceid -c controllerid1 controllerid2 ...

Parameters

Parameter Description Value
devicename Name of a device. Example: nvme0
operationtype Operation Type
  • 0: Create a namespace.
  • 1: Delete a namespace.
  • 2: Attach a namespace.
  • 3: Detach a namespace.
  • 6: Set the number of namespaces.

Select 3 in this command.

namespaceid ID of a namespace. -
controllerid ID of an NVMe controller.

The ES3000 V3 SSD has only one controller. The value of this parameter is 1.

-

Usage Guidelines

Before running this command, stop all I/O services of the namespace and perform the following operations for the namespace. You do not need to stop I/O services or perform the following operations for other namespaces.
  • For Linux, unmount the logical disk.
  • For ESXi, delete all partitions of the logical disk.
  • For Windows, make the logical disk offline, as shown in Figure 6-4.
    Figure 6-4  Making a logical disk offline

If a Huawei-developed driver is installed, the setting takes effect immediately without needing to stop I/O services. If an open-source or system-provided driver is installed, the setting takes effect after the server is restarted.

Example

# Detach namespace 1 of the nvme0 SSD to NVMe controller 1.

[root@localhost tool]#  hioadm namespace -d nvme0 -t 3 -i 1 -c 1
detaching the namespace successed. 
Please remove and then install the NVMe driver or reboot the OS.

System Response

If detach failed is displayed, the operation failed. The failure causes are as follows:
  • The namespace is not attached to the NVMe controller.
  • The NVMe controller ID is invalid.
Translation
Download
Updated: 2019-03-12

Document ID: EDOC1000101091

Views: 63807

Downloads: 1257

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