1NDCTL-INJECT-SMART(1)            ndctl Manual            NDCTL-INJECT-SMART(1)
2
3
4

NAME

6       ndctl-inject-smart - perform smart threshold/injection operations on a
7       DIMM
8

SYNOPSIS

10       ndctl inject-smart <dimm> [<options>]
11

DESCRIPTION

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

EXAMPLES

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
25       ndctl inject-smart --ctrl-temperature-threshold=32 --spares-threshold=8 --spares-alarm nmem0
26
27       Inject a media temperature value of 52 and fatal health status flag for
28       DIMM-0
29
30
31       ndctl inject-smart --media-temperature=52 --health=fatal nmem0
32

OPTIONS

34       -b, --bus=
35           Enforce that the operation only be carried on devices that are
36           attached to the given bus. Where bus can be a provider name or a
37           bus id number.
38
39       -m, --media-temperature=
40           Inject <value> for the media temperature smart attribute.
41
42       -M, --media-temperature-threshold=
43           Set <value> for the smart media temperature threshold.
44
45       --media-temperature-alarm=
46           Enable or disable the smart media temperature alarm. Options are on
47           or off.
48
49       --media-temperature-uninject
50           Uninject any media temperature previously injected.
51
52       -c, --ctrl-temperature=
53           Inject <value> for the controller temperature smart attribute.
54
55       -C, --ctrl-temperature-threshold=
56           Set <value> for the smart controller temperature threshold.
57
58       --ctrl-temperature-alarm=
59           Enable or disable the smart controller temperature alarm. Options
60           are on or off.
61
62       --ctrl-temperature-uninject
63           Uninject any controller temperature previously injected.
64
65       -s, --spares=
66           Inject <value> for the spares smart attribute.
67
68       -S, --spares-threshold=
69           Set <value> for the smart spares threshold.
70
71       --spares-alarm=
72           Enable or disable the smart spares alarm. Options are on or off.
73
74       --spares-uninject
75           Uninject any spare percentage previously injected.
76
77       -f, --fatal
78           Set the flag to spoof fatal health status.
79
80       --fatal-uninject
81           Uninject the fatal health status flag.
82
83       -U, --unsafe-shutdown
84           Set the flag to spoof an unsafe shutdown on the next power down.
85
86       --unsafe-shutdown-uninject
87           Uninject the unsafe shutdown flag.
88
89       -N, --uninject-all
90           Uninject all possible smart fields/values irrespective of whether
91           they have been previously injected or not.
92
93       -v, --verbose
94           Emit debug messages for the error injection process
95
96       -u, --human
97           Format numbers representing storage sizes, or offsets as human
98           readable strings with units instead of the default machine-friendly
99           raw-integer data. Convert other numeric fields into hexadecimal
100           strings.
101
103       Copyright (c) 2016 - 2019, Intel Corporation. License GPLv2: GNU GPL
104       version 2 http://gnu.org/licenses/gpl.html. This is free software: you
105       are free to change and redistribute it. There is NO WARRANTY, to the
106       extent permitted by law.
107

SEE ALSO

109       ndctl-list(1),
110
111
112
113ndctl                             2020-03-24             NDCTL-INJECT-SMART(1)
Impressum