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.6 kernel.
Highlights for this release include new commands to read-infoblock and write-infoblock, improvements and tests related to alignment constraints, misc build/compilation related fixes, and misc usability and documentation fixes.
Commands:
: display an error if regions are active
destroy-namespace: fix seed namespace accounting
: drop named list objects from verbose listing
*-namespace: emit better errors on failure
: new command to read an infoblock
: new command to create and write an infoblock
APIs:
ndctl_namespace_get_target_node
ndctl_namespace_is_configuration_idle
ndctl_region_get_align
ndctl_region_get_target_node
ndctl_region_set_align