cxl-zero-labels - Man Page

zero out the label area on a set of memdevs

Synopsis

cxl zero-labels <mem0> [<mem1>..<memN>] [<options>]

Description

The region label area is a small persistent partition of capacity available on some CXL memory devices. The label area is used to and configure or determine the set of memory devices participating in different interleave sets. This command resets the device to its default state by deleting all labels.

Options

<memory device(s)>

A memX device name, or a memdev id number. Restrict the operation to the specified memdev(s). The keyword all can be specified to indicate the lack of any restriction.

-S, --serial

Rather an a memdev id number, interpret the <memdev> argument(s) as a list of serial numbers.

-s, --size=

Limit the operation to the given number of bytes. A size of 0 indicates to operate over the entire label capacity.

-O, --offset=

Begin the operation at the given offset into the label area.

-v

Turn on verbose debug messages in the library (if libcxl was built with logging and debug enabled).

See Also

cxl-read-labels(1), cxl-write-labels(1), CXL-2.0 9.13.2

Referenced By

cxl-read-labels(1), cxl-write-labels(1).

2024-10-11 cxl Manual