NDCTL User Guide
HomePMDKNDCTLBlog
v72.1
v72.1
  • NDCTL User Guide
  • Installing NDCTL, DAXCTL, and CXL-CLI Utilities
    • Installing NDCTL and DAXCTL Packages on Linux
    • Installing the CXL-CLI Package on Linux
    • Installing NDCTL, DAXCTL, and CXL-CLI from Source on Linux
  • Quick Start
  • Concepts
    • NVDIMM Devices
    • PMEM and BLK Modes
    • Regions
      • Regions, Atomic Sectors, and DAX
    • Label Storage Area (LSA)
    • Namespaces
  • Managing NVDIMMs
  • Managing Regions
  • Managing Label Storage Areas (LSA)
  • Managing Namespaces
  • Managing NVDIMM Security
  • NDCTL Man Pages
    • ndctl(1)
    • ndctl-activate-firmware(1)
    • ndctl−check−labels(1)
    • ndctl−check−namespace(1)
    • ndctl−clear−errors(1)
    • ndctl−create−namespace(1)
    • ndctl−destroy−namespace(1)
    • ndctl−disable−dimm(1)
    • ndctl−disable−namespace(1)
    • ndctl−disable−region(1)
    • ndctl−enable−dimm(1)
    • ndctl-enable−namespace(1)
    • ndctl−enable−region(1)
    • ndctl−freeze−security(1)
    • ndctl−init−labels(1)
    • ndctl−inject−error(1)
    • ndctl−inject−smart(1)
    • ndct-list(1)
    • ndctl−load−keys(1)
    • ndctl−monitor(1)
    • ndctl-read-infoblock(1)
    • ndctl−read−labels(1)
    • ndctl−remove−passphrase(1)
    • ndctl−sanitize−dimm(1)
    • ndctl−setup−passphrase(1)
    • ndctl−start−scrub(1)
    • ndctl-update-firmware(1)
    • ndctl-update-passphrase(1)
    • ndctl−wait−overwrite(1)
    • ndctl−wait−scrub(1)
    • ndctl-write-infoblock(1)
    • ndctl−write−labels(1)
    • ndctl−zero−labels(1)
  • DAXCTL Man Pages
    • daxctl(1)
    • daxctl-create-device (1)
    • daxctl-destroy-device (1)
    • daxctl-disable-device (1)
    • daxctl-enable-device (1)
    • daxctl-list(1)
    • daxctl−migrate−device−model(1)
    • daxctl−offline−memory(1)
    • daxctl−online−memory(1)
    • daxctl−reconfigure−device(1)
  • CXL Man Pages
    • cxl(1)
    • cxl-list(1)
    • cxl-read-labels(1)
    • cxl-write-labels(1)
    • cxl-zero-labels(1)
  • Troubleshooting
  • Glossary
  • Reference Material
Powered by GitBook
On this page
  • NAME
  • SYNOPSIS
  • DESCRIPTION
  • EXAMPLES
  • OPTIONS
  • COPYRIGHT
  • SEE ALSO

Was this helpful?

  1. NDCTL Man Pages

ndctl−inject−smart(1)

Previousndctl−inject−error(1)Nextndct-list(1)

Last updated 3 years ago

Was this helpful?

NAME

ndctl−inject−smart − perform smart threshold/injection operations on a DIMM

SYNOPSIS

ndctl inject−smart <dimm> [<options>]

DESCRIPTION

A generic DIMM device object, named /dev/nmemX, is registered for each memory device indicated in the ACPI NFIT table, or other platform NVDIMM resource discovery mechanism.

ndctl−inject−smart can be used to set smart thresholds, and inject smart attributes.

EXAMPLES

Set smart controller temperature and spares threshold for DIMM−0 to 32C, spares threshold to 8, and enable the spares alarm.

ndctl inject−smart −−ctrl−temperature−threshold=32 −−spares−threshold=8 −−spares−alarm nmem0

Inject a media temperature value of 52 and fatal health status flag for DIMM−0

ndctl inject−smart −−media−temperature=52 −−health=fatal nmem0

OPTIONS

−b, −−bus=

Enforce that the operation only be carried on devices that are attached to the given bus. Where bus can be a provider name or a bus id number.

−m, −−media−temperature=

Inject for the media temperature smart attribute.

−M, −−media−temperature−threshold=

Set for the smart media temperature threshold.

−−media−temperature−alarm=

Enable or disable the smart media temperature alarm. Options are on or off.

−−media−temperature−uninject

Uninject any media temperature previously injected.

−c, −−ctrl−temperature=

Inject for the controller temperature smart attribute.

−C, −−ctrl−temperature−threshold=

Set for the smart controller temperature threshold.

−−ctrl−temperature−alarm=

Enable or disable the smart controller temperature alarm. Options are on or off.

−−ctrl−temperature−uninject

Uninject any controller temperature previously injected.

−s, −−spares=

Inject for the spares smart attribute.

−S, −−spares−threshold=

Set for the smart spares threshold.

−−spares−alarm=

Enable or disable the smart spares alarm. Options are on or off.

−−spares−uninject

Uninject any spare percentage previously injected.

−f, −−fatal

Set the flag to spoof fatal health status.

−−fatal−uninject

Uninject the fatal health status flag.

−U, −−unsafe−shutdown

Set the flag to spoof an unsafe shutdown on the next power down.

−−unsafe−shutdown−uninject

Uninject the unsafe shutdown flag.

−N, −−uninject−all

Uninject all possible smart fields/values irrespective of whether they have been previously injected or not.

−v, −−verbose

Emit debug messages for the error injection process

−u, −−human

Format numbers representing storage sizes, or offsets as human readable strings with units instead of the default machine−friendly raw−integer data. Convert other numeric fields into hexadecimal strings.

COPYRIGHT

SEE ALSO

Copyright (c) 2016 − 2019, Intel Corporation. License GPLv2: GNU GPL version 2 . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

,

http://gnu.org/licenses/gpl.html
ndctl−list(1)
NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
OPTIONS
COPYRIGHT
SEE ALSO