1NVME-HUAWEI-ID-CT(1) NVMe Manual NVME-HUAWEI-ID-CT(1)
2
3
4
6 nvme-huawei-id-ctrl - Send NVMe Identify Controller, return result and
7 structure
8
10 nvme huawei id-ctrl <device> [-v | --vendor-specific] [-b | --raw-binary]
11 [-o <fmt> | --output-format=<fmt>]
12
14 For the NVMe device given, sends an identify controller command and
15 provides the result and returned structure.
16
17 The <device> parameter is mandatory and may be either the NVMe
18 character device (ex: /dev/nvme0), or a namespace block device (ex:
19 /dev/nvme0n1).
20
21 This will only work on Huawei devices supporting this feature. Results
22 for any other device are undefined.
23
24 On success, the structure may be returned in one of several ways
25 depending on the option flags; the structure may be parsed by the
26 program or the raw buffer may be printed to stdout.
27
28 If having the program decode the output for readability, this version
29 will decode Huawei vendor unique portions of the structure.
30
32 -b, --raw-binary
33 Print the raw buffer to stdout. Structure is not parsed by program.
34 This overrides the vendor specific and human readable options.
35
36 -v, --vendor-specific
37 In addition to parsing known fields, this option will dump the
38 vendor specific region of the structure in hex with ascii
39 interpretation.
40
41 -H, --human-readable
42 This option will parse and format many of the bit fields into
43 human-readable formats.
44
45 -o <format>, --output-format=<format>
46 Set the reporting format to normal, json, or binary. Only one
47 output format can be used at a time.
48
50 • Has the program interpret the returned buffer and display the known
51 fields in a human readable format:
52
53 # nvme huawei id-ctrl /dev/nvme0
54
56 Part of the nvme-user suite
57
58
59
60NVMe 04/11/2022 NVME-HUAWEI-ID-CT(1)