ndctl

Manage "libnvdimm" subsystem devices (Non -volatile Memory)

TLDR

Create an 'fsdax' mode namespace

>_ ndctl create-namespace --mode=[fsdax]
copy

Change the mode of a namespace to 'raw'

>_ ndctl create-namespace --reconfigure=[namespaceX.Y] --mode=[raw]
copy

Check a sector mode namespace for consistency, and repair if needed

>_ ndctl check-namespace --repair [namespaceX.Y]
copy

List all namespaces, regions, and buses (including disabled ones)

>_ ndctl list --namespaces --regions --buses --idle
copy

List a specific namespace and include lots of additional information

>_ ndctl list -vvv --namespace=[namespaceX.Y]
copy

Run a monitor to watch for SMART health events for NVDIMMs on the 'ACPI.NFIT' bus

>_ ndctl monitor --bus=[ACPI.NFIT]
copy

Remove a namespace (when applicable) or reset it to an initial state

>_ ndctl destroy-namespace --force [namespaceX.Y]
copy

SYNOPSIS




ndctl [ --version] [ --help] [OPTIONS] COMMAND [ARGS]

OPTIONS


-v, --version Display ndctl version.
-h, --help Run ndctl help command.

DESCRIPTION


ndctl is utility for managing the "libnvdimm" kernel subsystem. The "libnvdimm" subsystem defines a kernel device model and control message interface for platform NVDIMM resources like those defined by the ACPI 6.0 NFIT (NVDIMM Firmware Interface Table). Operations supported by the tool include, provisioning capacity (namespaces), as well as enumerating/enabling/disabling the devices (dimms, regions, namespaces) associated with an NVDIMM bus.

COPYRIGHT


Copyright (c) 2016 -2019, Intel Corporation. License GPLv2: GNU GPL version 2 "http://gnu.org/licenses/gpl.html" "" "." This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

SEE ALSO

ndctl -create -namespace(1), ndctl -destroy -namespace(1), ndctl -check -namespace(1), ndctl -enable -region(1), ndctl -disable -region(1), ndctl -enable -dimm(1), ndctl -disable -dimm(1), ndctl -enable -namespace(1), ndctl -disable -namespace(1), ndctl -zero -labels(1), ndctl -read -labels(1), ndctl -inject -error(1), ndctl -list(1), "https://www.kernel.org/doc/Documentation/nvdimm/nvdimm.txt" "LIBNVDIMM Overview" , "http://pmem.io/documents/NVDIMM_Driver_Writers_Guide.pdf" "NVDIMM Driver Writer Guide"

Copied to clipboard
free 100$ digital ocean credit