1NVME-WDC-GET-CRAS(1)              NVMe Manual             NVME-WDC-GET-CRAS(1)
2
3
4

NAME

6       nvme-wdc-get-crash-dump - Retrieve WDC device's crash dump.
7

SYNOPSIS

9       nvme wdc get-crash-dump <device> [--output-file=<FILE>, -o <FILE>]
10

DESCRIPTION

12       For the NVMe device given, sends the WDC vendor unique crash dump
13       request and saves the result to file. In current implementation crash
14       dump is captured if it is present. On success it will save the dump in
15       file with appropriate suffix. Note that this command will clear the
16       available dump from the device on success.
17
18       The <device> parameter is mandatory NVMe character device (ex:
19       /dev/nvme0).
20
21       This will only work on WDC devices supporting this feature. Results for
22       any other device are undefined.
23

OPTIONS

25       -o <FILE>, --output-file=<FILE>
26           Output file; defaults to device serial number followed by
27           "crash_dump" suffix
28

EXAMPLES

30       ·   Gets the crash dump from the device and saves to default file in
31           current directory (e.g. STM00019F3F9crash_dump.bin):
32
33               # nvme wdc get-crash-dump /dev/nvme0
34
35       ·   Gets the crash dump from the device and saves to defined file in
36           current directory (e.g. testSTM00019F3F9crash_dump.bin):
37
38               # nvme wdc get-crash-dump /dev/nvme0 -o test
39
40       ·   Gets the crash dump from the device and saves to defined file with
41           pathname (e.g. /tmp/testSTM00019F3F9crash_dump.bin):
42
43               # nvme wdc get-crash-dump /dev/nvme0 -o /tmp/test
44

NVME

46       Part of the nvme-user suite
47
48
49
50NVMe                              01/08/2019              NVME-WDC-GET-CRAS(1)
Impressum