1NDCTL-CHECK-LABELS(1) ndctl Manual NDCTL-CHECK-LABELS(1)
2
3
4
6 ndctl-check-labels - determine if the given dimms have a valid
7 namespace index block
8
10 ndctl check-labels <nmem0> [<nmem1>..<nmemN>] [<options>]
11
13 The namespace label area is a small persistent partition of capacity
14 available on some NVDIMM devices. The label area is used to resolve
15 aliasing between pmem and blk capacity by delineating namespace
16 boundaries. In addition to checking if a label area has a valid index
17 block, running this command in verbose mode reports the reason the
18 index block is deemed invalid.
19
21 <memory device(s)>
22 One or more nmemX device names. The keyword all can be specified to
23 operate on every dimm in the system, optionally filtered by bus id
24 (see --bus= option).
25
26 -s, --size=
27 Limit the operation to the given number of bytes. A size of 0
28 indicates to operate over the entire label capacity.
29
30 -O, --offset=
31 Begin the operation at the given offset into the label area.
32
33 -b, --bus=
34 Limit operation to memory devices (dimms) that are on the given
35 bus. Where bus can be a provider name or a bus id number.
36
37 -v
38 Turn on verbose debug messages in the library (if ndctl was built
39 with logging and debug enabled).
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: you
44 are free to change and redistribute it. There is NO WARRANTY, to the
45 extent permitted by law.
46
48 UEFI NVDIMM Label Protocol
49 <http://www.uefi.org/sites/default/files/resources/UEFI_Spec_2_7.pdf>
50
51
52
53ndctl 2020-03-24 NDCTL-CHECK-LABELS(1)