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.

A volume declared in the machine config also matches on volume_id,
the volume name prefixed by its kind (u- user, r- raw, s- swap),
as in volume_id == "r-mirror0". A device Talos does not manage as a
volume has an empty volume_id.

An encrypted volume matches the same way. Talos builds the array on
the opened device, never on the ciphertext, and matches the volume
only after the volume manager has prepared it.