Attaching A Namespace To An Nvme Controller - Huawei ES3000 V5 User Manual

Nvme pcie ssd
Hide thumbs Also See for ES3000 V5:
Table of Contents

Advertisement

ES3000 V5 NVMe PCIe SSD
User Guide
Parameter
size
shareflag
Usage Guidelines
None
Example
# Create an exclusive namespace of 64 GB for the nvme0 SSD.
[root@localhost tool]# hioadm namespace -d nvme0 -t 0 -s 64 -f 0
creating namespace succeeded.
namespace id: 1

6.13.3 Attaching a Namespace to an NVMe Controller

Function
This command is used to attach a namespace to an NVMe controller.
Format
hioadm namespace -d devicename -t operationtype -i namespaceid -c controllerid
Parameters
Parameter
devicename
operationtype
namespaceid
Issue 07 (2019-03-19)
Description
Size of a namespace. Unit: G
Whether the namespace is
shared
Description
Name of a device.
Operation Type
ID of a namespace.
Copyright © Huawei Technologies Co., Ltd.
6 Command Description
Value
If the unit is not specified, the default unit
G is used.
NOTE
If this parameter is set to 0, the remaining
unallocated space is all used for creating a
namespace.
l 0: Exclusive
l 1: Shared
Value
Example: nvme0
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 2 in this command.
-
139

Advertisement

Table of Contents
loading

Table of Contents