E
Obtaining Device Logs by Using an Open-
Source Tool
This section describes how to obtain ES3000 NVMe PCIe SSD device logs by using the
open-source tool nvme-cli.
Function
You can use the python script
hiolog.py
to obtain device logs without using hioadm. The
hiolog.py
script can be obtained from the driver installation package.
Format
python hiolog.py -d device
Parameters
Parameter
Description
Value
device
Name of a device
Examples: nvme0 and
nvme1
Usage Guidelines
Run this command under the /opt/hio/ directory. Generated logs will be saved in this
directory. The structure of the /opt/hio/ directory is as follows:
.
|-- /opt/hio/
|-- 20160615
|-- nvme0_coredump_172050.log
|-- nvme0_fw_172050.log
|-- nvme0_fw_172050.tmp
|-- nvme0_key_172050.log
|-- nvme0_key_172050.tmp
The .tmp files contain original log data. The .log files are exported logs.
ES3000 V5 NVMe PCIe SSD
User Guide
E Obtaining Device Logs by Using an Open-Source Tool
Issue 07 (2019-03-19)
Copyright © Huawei Technologies Co., Ltd.
219