ndctl−list(1)
NAME SYNOPSIS EXAMPLE OPTIONS COPYRIGHT SEE ALSO
NAME
ndctl−list − dump the platform nvdimm device topology and attributes in json
SYNOPSIS
ndctl list [<options>]
Walk all the nvdimm buses in the system and list all attached devices along with some of their major attributes.
Options can be specified to limit the output to devices of a certain class. Where the classes are buses, dimms, regions, and namespaces. By default, ndctl list with no options is equivalent to:
EXAMPLE
OPTIONS
−r, −−region=
A regionX device name, or a region id number. The keyword all can be specified to carry out the operation on every region in the system, optionally filtered by bus id (see −−bus= option).
−b, −−bus=
Enforce that the operation only be carried on devices that are attached to the given bus. Where bus can be a provider name or a bus id number.
−d, −−dimm=
An nmemX device name, or dimm id number. The dimm id number here is X in nmemX. Filter listing by devices that reference the given dimm. For example to see all namespaces comprised of storage capacity on nmem0:
−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.
−t, −−type=
Filter listing by region type (pmem or blk)
−m, −−mode=
Filter listing by the mode (raw, fsdax, sector or devdax) of the namespace(s).
−U, −−numa−node=
Filter listing by numa node
−B, −−buses
Include bus info in the listing
−D, −−dimms
Include dimm info in the listing
−H, −−health
Include dimm health info in the listing. For example:
−F, −−firmware
Include dimm firmware info in the listing. For example:
−X, −−device−dax
Include device−dax ("daxregion") details when a namespace is in "devdax" mode.
−R, −−regions
Include region info in the listing
−N, −−namespaces
Include namespace info in the listing. Namespace info is listed by default if no other options are specified to the command.
−i, −−idle
Include idle (not enabled) devices in the listing
−C, −−capabilities
Include region capabilities in the listing, i.e. supported namespace modes and variable properties like sector sizes and alignments.
−M, −−media−errors
Include media errors (badblocks) in the listing. Note that the badblock_count property is included in the listing by default when the count is non−zero, otherwise it is hidden. Also, if the namespace is in sector mode the badblocks listing is not included and badblock_count property may include blocks that are located in metadata, or unused capacity in the namespace. Convert a sector namespace into raw mode to list precise badblocks offsets.
−v, −−verbose
Increase verbosity of the output. This can be specified multiple times to be even more verbose on the informational and miscellaneous output, and can be used to override omitted flags for showing specific information.
• −v In addition to the enabled namespaces default output, show the numa_node, raw_uuid, and bad block media errors.
• −vv Everything −v provides, plus automatically enable −−dimms, −−buses, and −−regions.
• −vvv Everything −vv provides, plus −−health, −−capabilities, −−idle, and −−firmware.
−u, −−human
Format numbers representing storage sizes, or offsets as human readable strings with units instead of the default machine−friendly raw−integer data. Convert other numeric fields into hexadecimal strings.
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
Last updated