1NDCTL-INJECT-SMART(1) ndctl Manual NDCTL-INJECT-SMART(1)
2
3
4
6 ndctl-inject-smart - perform smart threshold/injection operations on a
7 DIMM
8
10 ndctl inject-smart <dimm> [<options>]
11
13 A generic DIMM device object, named /dev/nmemX, is registered for each
14 memory device indicated in the ACPI NFIT table, or other platform
15 NVDIMM resource discovery mechanism.
16
17 ndctl-inject-smart can be used to set smart thresholds, and inject
18 smart attributes.
19
21 Set smart controller temperature and spares threshold for DIMM-0 to
22 32C, spares threshold to 8, and enable the spares alarm.
23
24 ndctl inject-smart --ctrl-temperature-threshold=32 --spares-threshold=8 --spares-alarm nmem0
25
26 Inject a media temperature value of 52 and fatal health status flag for
27 DIMM-0
28
29 ndctl inject-smart --media-temperature=52 --health=fatal nmem0
30
32 -b, --bus=
33 Enforce that the operation only be carried on devices that are
34 attached to the given bus. Where bus can be a provider name or a
35 bus id number.
36
37 -m, --media-temperature=
38 Inject <value> for the media temperature smart attribute.
39
40 -M, --media-temperature-threshold=
41 Set <value> for the smart media temperature threshold.
42
43 --media-temperature-alarm=
44 Enable or disable the smart media temperature alarm. Options are on
45 or off.
46
47 --media-temperature-uninject
48 Uninject any media temperature previously injected.
49
50 -c, --ctrl-temperature=
51 Inject <value> for the controller temperature smart attribute.
52
53 -C, --ctrl-temperature-threshold=
54 Set <value> for the smart controller temperature threshold.
55
56 --ctrl-temperature-alarm=
57 Enable or disable the smart controller temperature alarm. Options
58 are on or off.
59
60 --ctrl-temperature-uninject
61 Uninject any controller temperature previously injected.
62
63 -s, --spares=
64 Inject <value> for the spares smart attribute.
65
66 -S, --spares-threshold=
67 Set <value> for the smart spares threshold.
68
69 --spares-alarm=
70 Enable or disable the smart spares alarm. Options are on or off.
71
72 --spares-uninject
73 Uninject any spare percentage previously injected.
74
75 -f, --fatal
76 Set the flag to spoof fatal health status.
77
78 --fatal-uninject
79 Uninject the fatal health status flag.
80
81 -U, --unsafe-shutdown
82 Set the flag to spoof an unsafe shutdown on the next power down.
83
84 --unsafe-shutdown-uninject
85 Uninject the unsafe shutdown flag.
86
87 -N, --uninject-all
88 Uninject all possible smart fields/values irrespective of whether
89 they have been previously injected or not.
90
91 -v, --verbose
92 Emit debug messages for the error injection process
93
94 -u, --human
95 Format numbers representing storage sizes, or offsets as human
96 readable strings with units instead of the default machine-friendly
97 raw-integer data. Convert other numeric fields into hexadecimal
98 strings.
99
101 Copyright (c) 2016 - 2019, Intel Corporation. License GPLv2: GNU GPL
102 version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
103 you are free to change and redistribute it. There is NO WARRANTY, to
104 the extent permitted by law.
105
107 ndctl-list(1),
108
109
110
111ndctl 2019-10-28 NDCTL-INJECT-SMART(1)