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:
l
The namespace is not attached to the NVMe controller.
l
The NVMe controller ID is invalid.
6.13.5 Deleting a Namespace of an SSD
Function
This command is used to delete a namespace of an SSD.
Format
hioadm namespace -d
devicename
-t
operationtype
-i
namespaceid
Parameters
Parameter
Description
Value
devicename
Name of a device.
Example:
nvme0
operationtype
Operation Type
l
0
: Create a namespace.
l
1
: Delete a namespace.
l
2
: Attach a namespace.
l
3
: Detach a namespace.
l
6
: Set the number of namespaces.
Select
1
in this command.
namespaceid
ID of a namespace.
-
ES3000 V3 NVMe PCIe SSD
User Guide
6 Command Description
Issue 20 (2019-02-27)
Copyright © Huawei Technologies Co., Ltd.
128