1NDCTL-READ-LABELS(1) ndctl Manual NDCTL-READ-LABELS(1)
2
3
4
6 ndctl-read-labels - read out the label area on a dimm or set of dimms
7
9 ndctl read-labels <nmem0> [<nmem1>..<nmemN>] [<options>]
10
12 The namespace label area is a small persistent partition of capacity
13 available on some NVDIMM devices. The label area is used to resolve
14 aliasing between pmem and blk capacity by delineating namespace
15 boundaries. This command dumps the raw binary data in a dimm’s label
16 area to stdout or a file. In the multi-dimm case the data is
17 concatenated.
18
20 <memory device(s)>
21 One or more nmemX device names. The keyword all can be specified to
22 operate on every dimm in the system, optionally filtered by bus id
23 (see
24 --bus= option).
25
26 -b, --bus=
27 Limit operation to memory devices (dimms) that are on the given
28 bus. Where bus can be a provider name or a bus id number.
29
30 -v
31 Turn on verbose debug messages in the library (if ndctl was built
32 with logging and debug enabled).
33
34 -o, --output
35 output file
36
37 -j, --json
38 parse the label data into json assuming the NVDIMM Namespace
39 Specification format.
40
42 Copyright (c) 2016 - 2019, Intel Corporation. License GPLv2: GNU GPL
43 version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
44 you are free to change and redistribute it. There is NO WARRANTY, to
45 the extent permitted by law.
46
48 UEFI NVDIMM Label Protocol <http://www.uefi.org/sites/default/files/
49 resources/UEFI_Spec_2_7.pdf>
50
51
52
53ndctl 2019-05-10 NDCTL-READ-LABELS(1)