1NDCTL-WRITE-LABELS(1) ndctl Manual NDCTL-WRITE-LABELS(1)
2
3
4
6 ndctl-write-labels - write data to the label area on a dimm
7
9 ndctl write-labels <nmem> [-i <filename>]
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. Read data from the input filename, or stdin, and write it
16 to the given <nmem> device. Note that the device must not be active in
17 any region, otherwise the kernel will not allow write access to the
18 device’s label data area.
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
25 --bus= option).
26
27 -b, --bus=
28 Limit operation to memory devices (dimms) that are on the given
29 bus. Where bus can be a provider name or a bus id number.
30
31 -v
32 Turn on verbose debug messages in the library (if ndctl was built
33 with logging and debug enabled).
34
35 -i, --input
36 input file
37
39 UEFI NVDIMM Label Protocol <http://www.uefi.org/sites/default/files/
40 resources/UEFI_Spec_2_7.pdf>
41
42
43
44ndctl 2019-05-10 NDCTL-WRITE-LABELS(1)