1CXL-WRITE-LABELS(1)                                        CXL-WRITE-LABELS(1)
2
3
4

NAME

6       cxl-write-labels - write data to the label area on a memdev
7

SYNOPSIS

9       cxl write-labels <mem> [-i <filename>]
10

DESCRIPTION

12       The region label area is a small persistent partition of capacity
13       available on some CXL memory devices. The label area is used to and
14       configure or determine the set of memory devices participating in
15       different interleave sets. Read data from the input filename, or stdin,
16       and write it to the given <mem> device. Note that the device must not
17       be active in any region, or actively registered with the nvdimm
18       subsystem. If it is, the kernel will not allow write access to the
19       device’s label data area.
20

OPTIONS

22       <memory device(s)>
23           A memX device name, or a memdev id number. Restrict the operation
24           to the specified memdev(s). The keyword all can be specified to
25           indicate the lack of any restriction.
26
27       -S, --serial
28           Rather an a memdev id number, interpret the <memdev> argument(s) as
29           a list of serial numbers.
30
31       -s, --size=
32           Limit the operation to the given number of bytes. A size of 0
33           indicates to operate over the entire label capacity.
34
35       -O, --offset=
36           Begin the operation at the given offset into the label area.
37
38       -v
39           Turn on verbose debug messages in the library (if libcxl was built
40           with logging and debug enabled).
41
42       -b, --bus=
43           Restrict the operation to the specified bus.
44
45       -i, --input
46           input file
47

SEE ALSO

49       linkcxl:cxl-read-labels[1], linkcxl:cxl-zero-labels[1], CXL-2.0 9.13.2
50
51
52
53                                  08/03/2023               CXL-WRITE-LABELS(1)
Impressum