CXL-SET-PARTITION(1) | cxl Manual | CXL-SET-PARTITION(1) |
NAME¶
cxl-set-partition - set the partitioning between volatile and persistent capacity on a CXL memdev
SYNOPSIS¶
cxl set-partition <mem0> [ [<mem1>..<memN>] [<options>]
DESCRIPTION¶
CXL devices may support both volatile and persistent memory capacity. The amount of device capacity set aside for each type is typically established at the factory, but some devices also allow for dynamic re-partitioning.
Use this command to partition a device into volatile and persistent capacity. The change in partitioning becomes the “next” configuration, to become active on the next device reset.
Use "cxl list -m <memdev> -I" to examine the partitioning capabilities of a device. A partition_alignment_size value of zero means there is no available capacity and therefore the partitions cannot be changed.
Using this command to change the size of the persistent capacity shall result in the loss of data stored.
OPTIONS¶
<memory device(s)>
-S, --serial
-t, --type=
-s, --size=
-a, --align
-v
COPYRIGHT¶
Copyright © 2016 - 2022, Intel Corporation. License GPLv2: GNU GPL version 2 <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO¶
cxl-list(1), CXL-2.0 8.2.9.5.2
2022-10-13 | cxl |