| Field | Type | Description | Value(s) |
|---|---|---|---|
name | string | Logical volume name. Must be 1-63 chars: ASCII letters, digits, hyphens, underscores. | |
type | LVMLogicalVolumeType | Logical volume layout. | linearraid0raid1raid10 |
mirrors | uint32 | Number of mirror copies for raid1 / raid10 layouts.Defaults to 1 (a two-way mirror) when unset. Not valid for linearor raid0. | |
stripes | uint32 | Number 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. | |
provisioning | LVMLogicalVolumeProvisioningSpec | Describes how the logical volume is provisioned. |
provisioning
LVMLogicalVolumeProvisioningSpec describes how an LV is provisioned.| Field | Type | Description | Value(s) |
|---|---|---|---|
volumeGroup | string | Name of the volume group that backs the logical volume. | |
minSize | ByteSize | The minimum size of the volume. Size is specified in bytes, but can be expressed in human readable format, e.g. 100MB. | |
maxSize | Size | The 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%. |