1NVME-WDC-ENC-GET() NVME-WDC-ENC-GET()
2
3
4
6 nvme-wdc-enc-get-log - Send NVMe WDC enc-get-log Vendor Unique Command,
7 return result.
8
10 nvme wdc enc-get-log <device> [--log-id=<NUM>, -l <NUM>] [--output-file=<FILE>, -o <FILE>] [--transfer-size=<SIZE>, -s <SIZE>]
11
13 For the NVMe device given, send a Vendor Unique WDC enc-get-log command
14 and output the Enclosure logs.
15
16 The <device> parameter is mandatory and may be either the NVMe
17 character device (ex: /dev/nvme0).
18
19 The --log-id=<NUM>, -l <NUM> parameter is mandatory and may be either
20 0xd1, 0xd2, 0xd3, 0xd4, 0xe2 and 0xe4.
21
22 This will only work on WDC devices supporting this feature. Results for
23 any other device are undefined.
24
25 On success it returns the enclosure log data, error code otherwise.
26
28 -o <FILE>, --output-file=<FILE>
29 Output file pathname
30
31 -s <SIZE>, --transfer-size=<NUM>
32 Data retrieval transfer size, maximum transfer size should be
33 0x2000 (decimal 8192)
34
36 • Gets the enclosure log from the device based on the log id(0xd1)
37 with transfer size(0x2000) and saves to defined file in current
38 directory:
39
40 # nvme wdc enc-get-log /dev/nvme0 -l 0xd1 -o d1_log.bin -s 0x2000
41
42 • Gets the enclosure log from the device based on the log id(0xd2)
43 with default transfer size(0x1000) and saves to defined file in
44 current directory:
45
46 # nvme wdc enc-get-log /dev/nvme0 -l 0xd2 -o d1_log.bin
47
49 Part of the nvme-user suite.
50
51
52
53 NVME-WDC-ENC-GET()