NDCTL User Guide
Last updated
Was this helpful?
Last updated
Was this helpful?
ndctl
is a utility for managing the Linux LIBNVDIMM Kernel subsystem. It is designed to work with various non-volatile memory devices (NVDIMMs) from different vendors. The LIBNVDIMM subsystem defines a kernel device model and control message interface for platform NVDIMM resources like those defined by the NFIT (NVDIMM Firmware Interface Table). The latest and specifications can be found at . Operations supported by ndctl
include:
Provisioning capacity (namespaces)
Enumerating Devices
Enabling and Disabling NVDIMMs, Regions, and Namespaces
Managing NVDIMM Labels
This release incorporates functionality up to the 5.4 kernel, and adds a number of bug fixes, and improvements.
Highlights include small changes for PowerPC compatibility, improvements to the dax.sh unit test to detect failures in mapping huge pages, support for the 'security frozen' attribute, user experience improvements for the daxctl-reconfigure-device command, including an option to specify movable vs. non-movable state for onlining memory, and an option to allow create-namespaces to create a maximal configuration until it exhausts all available region capacity.
Commands:
: add --continue option
: add --no-movable option
: display movable state in listings
: detect races in memory onlining
: support for 'security frozen' attribute
APIs:
ndctl_dimm_security_is_frozen
daxctl_memory_is_movable
daxctl_memory_online_no_movable