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 --bus= option).
24
25 -b, --bus=
26 Limit operation to memory devices (dimms) that are on the given
27 bus. Where bus can be a provider name or a bus id number.
28
29 -v
30 Turn on verbose debug messages in the library (if ndctl was built
31 with logging and debug enabled).
32
33 -o, --output
34 output file
35
36 -j, --json
37 parse the label data into json assuming the NVDIMM Namespace
38 Specification format.
39
41 Copyright (c) 2016 - 2018, Intel Corporation. License GPLv2: GNU GPL
42 version 2 http://gnu.org/licenses/gpl.html. This is free software: you
43 are free to change and redistribute it. There is NO WARRANTY, to the
44 extent permitted by law.
45
47 UEFI NVDIMM Label Protocol[1]
48
50 1. UEFI NVDIMM Label Protocol
51 http://www.uefi.org/sites/default/files/resources/UEFI_Spec_2_7.pdf
52
53
54
55ndctl 62 05/11/2019 NDCTL-READ-LABELS(1)