1NVME-WDC-DRIVE-LO(1)              NVMe Manual             NVME-WDC-DRIVE-LO(1)
2
3
4

NAME

6       nvme-wdc-drive-log - Retrieve WDC device's drive log and save to file.
7

SYNOPSIS

9       nvme wdc drive-log <device> [--output-file=<FILE>, -o <FILE>]
10

DESCRIPTION

12       For the NVMe device given, sends the wdc vendor unique drive log
13       request and saves the result to a file.
14
15       The <device> parameter is mandatory and may be either the NVMe
16       character device (ex: /dev/nvme0), or a namespace block device (ex:
17       /dev/nvme0n1).
18
19       This will only work on WDC devices supporting this feature. Results for
20       any other device are undefined.
21

OPTIONS

23       -o <FILE>, --output-file=<FILE>
24           Output file; defaults to device serial number followed by
25           "drive_log" suffix
26

EXAMPLES

28       •   Gets the drive log from the device and saves to default file in
29           current directory (e.g. STM00019F3F9drive_log.bin):
30
31               # nvme wdc drive-log /dev/nvme0
32
33       •   Gets the drive log from the device and saves to defined file in
34           current directory (e.g. testSTM00019F3F9drive_log.bin):
35
36               # nvme wdc drive-log /dev/nvme0 -o test
37
38       •   Gets the drive log from the device and saves to defined file with
39           pathname (e.g. /tmp/testSTM00019F3F9drive_log.bin):
40
41               # nvme wdc drive-log /dev/nvme0 -o /tmp/test
42

NVME

44       Part of the nvme-user suite
45
46
47
48NVMe                              09/29/2023              NVME-WDC-DRIVE-LO(1)
Impressum