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 --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 -i, --input
35 input file
36
38 UEFI NVDIMM Label Protocol[1]
39
41 1. UEFI NVDIMM Label Protocol
42 http://www.uefi.org/sites/default/files/resources/UEFI_Spec_2_7.pdf
43
44
45
46ndctl 62 05/11/2019 NDCTL-WRITE-LABELS(1)