Parameter Description
Value
capacitysize
Target capacity.
In Linux and ESXi, 1 GB
equals 1000 MB. In Windows,
1 GB equals 1024 MB.
Integer or decimal with a unit.
l
Supported units: G or T. The default unit
is G.
l
The value can contain a maximum of one
decimal place.
0
indicates that the target capacity is the
original capacity.
Usage Guidelines
l
Before running this command, stop all I/O services of the SSD, and unmount all logical
disks of the SSD.
l
If a Huawei-developed driver is installed, the setting takes effect immediately. If an
open-source or system-provided driver is installed, the setting takes effect after the driver
is uninstalled and reinstalled or the server is restarted. After the setting takes effect, the
namespace settings automatically restore to the defaults, that is, only one namespace of
the configured size exists and is attached to controller 1.
Example
# Set the current capacity of
nvme0
to its original capacity.
[root@localhost tool]#
hioadm capacity -d nvme0 -s 0
current capacity : 512.0GB (512000000000Byte)
maximum capacity : 1.6TB (1600321314816Byte)
You have selected to restore original capacity.
WARNING! The set capacity operation will clear all data.
WARNING! You have selected the set capacity operation.
Proceed with the set capacity? (Y|N):
y
Setting...OK
Setting capacity successed.
Please remove and then install the NVMe driver or reboot the OS.
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: 512.0GB (512000000000Byte)
ES3000 V3 NVMe PCIe SSD
User Guide
6 Command Description
Issue 20 (2019-02-27)
Copyright © Huawei Technologies Co., Ltd.
106