6.9 Querying and Setting the Write Mode
6.9.1 Querying the Write Mode of an SSD
Function
This command is used to query the write mode of an SSD.
Format
hioadm writemode -d devicename
Parameters
Parameter
Description Value
devicename Name of a device. Example: nvme0
Usage Guidelines
None
Example
# Query the write mode of the nvme0 SSD.
[root@localhost tool]# hioadm writemode -d nvme0
write mode: cache
6.9.2 Setting the Write Mode of an SSD
Function
This command is used to set the write mode of an SSD.
Format
hioadm writemode -d devicename -m mode
Parameters
Parameter
Description Value
devicename Name of a device. Example: nvme0
mode Write mode.
l 0: write through
l 1: cache
NOTE
The write through mode affects the write performance.
ES3000 V3 NVMe PCIe SSD
User Guide
6 Command Description
Issue 20 (2019-02-27) Copyright © Huawei Technologies Co., Ltd. 119