1NDCTL-WRITE-LABELS(1)            ndctl Manual            NDCTL-WRITE-LABELS(1)
2
3
4

NAME

6       ndctl-write-labels - write data to the label area on a dimm
7

SYNOPSIS

9       ndctl write-labels <nmem> [-i <filename>]
10

DESCRIPTION

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

OPTIONS

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
41       -i, --input
42           input file
43

SEE ALSO

45       UEFI NVDIMM Label Protocol
46       <http://www.uefi.org/sites/default/files/resources/UEFI_Spec_2_7.pdf>
47
48
49
50ndctl                             2020-03-24             NDCTL-WRITE-LABELS(1)
Impressum