1NVME-INTEL-SMART-(1) NVMe Manual NVME-INTEL-SMART-(1)
2
3
4
6 nvme-intel-smart-log-add - Send NVMe Intel Additional SMART log page
7 request, returns result and log
8
10 nvme intel smart-log-add <device> [--namespace-id=<nsid> | -n <nsid>]
11 [--raw-binary | -b]
12 [--json | -j]
13
15 Retrieves the NVMe Intel Additional SMART log page from the device and
16 provides the 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 smart 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
28 -n <nsid>, --namespace-id=<nsid>
29 Retrieve the Additional SMART log for the given nsid. This is
30 optional and its success may depend on the device’s capabilities to
31 provide this log on a per-namespace basis (see the NVMe Identify
32 Controller for this capability). The default nsid to use is
33 0xffffffff for the device global SMART log.
34
35 -b, --raw-binary
36 Print the raw Intel Additional SMART log buffer to stdout.
37
38 -j, --json
39 Dump output in json format.
40
42 • Print the Intel Additional SMART log page in a human readable
43 format:
44
45 # nvme intel smart-log-add /dev/nvme0
46
47 • Print the raw Intel Additional SMART log to a file:
48
49 # nvme intel smart-log-add /dev/nvme0 --raw-binary > smart_log.raw
50
51 It is probably a bad idea to not redirect stdout when using this
52 mode.
53
55 Part of the nvme-user suite
56
57
58
59NVMe 09/29/2023 NVME-INTEL-SMART-(1)