Parameter Description
Value
days
Number of days for query. The value ranges between 1 and 360, for example,
20
.
Usage Guidelines
None
Example
# Query the amount of written data of
nvme0
.
linux-mazy:/ # hioadm loadhist -d nvme0 -n 20
disk write per day: 2.80
System Response
Parameter
Description
Value
disk write per
day
Average amount of data
written per day.
Percentage of the total amount, for example,
20
.
6.16 Restoring Default Attributes
Function
This task is to restore the default attributes of a specified SSD device.
Format
hioadm restorefeatures -d
devicename
Parameters
Parameter
Description
Value
devicename
Indicates the name of an
SSD device.
Example:
nvme0
Usage Guidelines
Before running this command, stop all I/O services of the logical disk and perform the
following:
l
− For Linux, unmount the logical disk. End all processes that use the logical disk and run
the
fuser
command to check that no process is using the logical disk. If the following
information is displayed, a process is using the logical disk, and you need to end the
process.
[root@localhost tool]# fuser /dev/nvme0n1 /dev/nvme0n1: 14789
ES3000 V3 NVMe PCIe SSD
User Guide
6 Command Description
Issue 20 (2019-02-27)
Copyright © Huawei Technologies Co., Ltd.
132