1NVME-ERROR-LOG(1)                 NVMe Manual                NVME-ERROR-LOG(1)
2
3
4

NAME

6       nvme-error-log - Send NVME Error log page request, return result and
7       log
8

SYNOPSIS

10       nvme error-log <device>  [--log-entries=<entries> | -e <entries>]
11                                [--raw-binary | -b]
12                                [--output-format=<fmt> | -o <fmt>]
13

DESCRIPTION

15       Retrieves NVMe Error log page from an NVMe device and provides the
16       returned structure.
17
18       The <device> parameter is mandatory and may be either the NVMe
19       character device (ex: /dev/nvme0), or a namespace block device (ex:
20       /dev/nvme0n1).
21
22       On success, the returned error log structure may be returned in one of
23       several ways depending on the option flags; the structure may parsed by
24       the program and printed in a readable format or the raw buffer may be
25       printed to stdout for another program to parse.
26

OPTIONS

28       -e <entries>, --log-entries=<entries>
29           Specifies how many log entries the program should request from the
30           device. This must be at least one, and shouldn’t exceed the
31           device’s capabilities. Defaults to 64 log entries.
32
33       -b, --raw-binary
34           Print the raw error log buffer to stdout.
35
36       -o <format>, --output-format=<format>
37           Set the reporting format to normal, json, or binary. Only one
38           output format can be used at a time.
39

EXAMPLES

41       ·   Get the error log and print it in a human readable format:
42
43               # nvme error-log /dev/nvme0
44
45       ·   Print the raw output to a file:
46
47               # nvme error-log /dev/nvme0 --raw-binary > error_log.raw
48
49           It is probably a bad idea to not redirect stdout when using this
50           mode.
51

NVME

53       Part of the nvme-user suite
54
55
56
57NVMe                              04/24/2020                 NVME-ERROR-LOG(1)
Impressum