Usage Guidelines
None
Example
# Query the current capacity of
nvme0
.
[root@localhost tool]#
hioadm capacity -d nvme0
current capacity : 1.0TB (1000000000000Byte)
maximum capacity : 1.8TB (1800000000000Byte)
System Response
Parameter
Parameter
Description
Value
current capacity
Total available capacity
(with one decimal
place) of the SSD. Unit:
GB or TB.
In Linux and ESXi, 1
GB equals 1000 MB. In
Windows, 1 GB equals
1024 MB.
Example: 1.0TB (1000000000000Byte)
maximum
capacity
Original available
capacity (with one
decimal place) of the
SSD. Unit: GB or TB.
In Linux and ESXi, 1
GB equals 1000 MB. In
Windows, 1 GB equals
1024 MB.
Example: 1.8TB (1800000000000Byte)
6.3.2 Setting the Capacity of an SSD
Function
This command is used to set the current capacity of an SSD.
Format
hioadm capacity -d
devicename
-s
capacitysize
Parameters
Parameter Description
Value
devicename
Name of an SSD.
Example:
nvme0
ES3000 V3 NVMe PCIe SSD
User Guide
6 Command Description
Issue 20 (2019-02-27)
Copyright © Huawei Technologies Co., Ltd.
105