Managing Namespaces
Regions can be partitioned into one or more namespaces. Namespace operations include listing, creating, destroying, enabling, disabling, and checking (validating) using the following commands:
The
ndctl list -N
command is used to display namespaces, for example:# ndctl list -N
{
"dev":"namespace0.0",
"mode":"fsdax",
"map":"mem",
"size":4294967296,
"sector_size":512,
"blockdev":"pmem0",
"numa_node":0
}
The output can be filtered using any combination of the following options:
-n, --namespace=
An namespaceX.Y device name, or namespace region plus id tuple X.Y. Limit the namespace list to the single
identified device if present.