Skip to main content
FieldTypeDescriptionValue(s)
namestringArray name, stamped into the md metadata.

Must be 1-32 chars: ASCII letters, digits, hyphens, underscores.
Exposed as /dev/disk/by-id/md-name-<name>.
levelMDLevelRAID level.raid1
metadataMDMetadataMD on-disk metadata format.

Defaults to 1.0, which stores the superblock at the end of the member
device so the array can back a bootable partition. Use 1.2 for data
arrays that do not need to be bootable.
1.0
1.2
provisioningRAIDProvisioningSpecThe provisioning describes how the RAID arrays are provisioned.

provisioning

RAIDProvisioningSpec describes how the RAID arrays are provisioned.
FieldTypeDescriptionValue(s)
volumeSelectorRAIDVolumeSelectorThe volume selector describes how the members of RAID arrays are selected.

volumeSelector

RAIDVolumeSelector matches member disks with CEL.
FieldTypeDescriptionValue(s)
matchExpressionCEL expression matching the member volumes of the array.

Evaluated against each discovered volume with the volume variable;
the disk variable is bound for whole disks (empty for partitions), so
both whole disks and partitions can be selected. The system disk and
its partitions are never eligible.