Skip to main content
FieldTypeDescriptionValue(s)
namestringLogical volume name.

Must be 1-63 chars: ASCII letters, digits, hyphens, underscores.
typeLVMLogicalVolumeTypeLogical volume layout.linear
raid0
raid1
raid10
mirrorsuint32Number of mirror copies for raid1 / raid10 layouts.

Defaults to 1 (a two-way mirror) when unset. Not valid for linear
or raid0.
stripesuint32Number of stripes for raid0 / raid10 layouts.

Defaults to all available physical volumes when unset. Must be at
least 2. Not valid for linear or raid1.
provisioningLVMLogicalVolumeProvisioningSpecDescribes how the logical volume is provisioned.

provisioning

LVMLogicalVolumeProvisioningSpec describes how an LV is provisioned.
FieldTypeDescriptionValue(s)
volumeGroupstringName of the volume group that backs the logical volume.
minSizeByteSizeThe minimum size of the volume.

Size is specified in bytes, but can be expressed in human readable format, e.g. 100MB.
maxSizeSizeThe maximum size of the volume.

Size is specified in bytes or in percents of the volume group.
It can be expressed in human readable format, e.g. 100MB or 80%.