ndctl
Utility for managing Non-Volatile DIMMs. tldr-pages
On Linux
Linux
Create an fsdax mode namespace
ndctl create-namespace --mode=fsdaxIdentifyChange the mode of a namespace to raw
ndctl create-namespace --reconfigure=namespaceX.Y --mode=rawIdentifyCheck a sector mode namespace for consistency, and repair if needed
ndctl check-namespace --repair namespaceX.YIdentifyList all namespaces, regions, and buses (including disabled ones)
ndctl list --namespaces --regions --buses --idleIdentifyList a specific namespace and include lots of additional information
ndctl list -vvv --namespace=namespaceX.YIdentifyRun a monitor to watch for SMART health events for NVDIMMs on the ACPI.NFIT bus
ndctl monitor --bus=ACPI.NFITIdentifyRemove a namespace (when applicable) or reset it to an initial state
ndctl destroy-namespace --force namespaceX.YIdentify