Volumes
The configuration of volumes is defined using theVolumeConfig
resource, while the current state of volumes is stored in the VolumeStatus
resource.
Volume Configuration
The volume configuration is managed by Talos Linux based on machine configuration. To see configured volumes, use the following command:EPHEMERAL
, META
, and STATE
are system volumes managed by Talos, while u-extra
, u-p1
and u-p2
are user configured volumes.
To get details about a specific volume configuration, use the following command:
Volume Status
Current volume status can be obtained using the following command:waiting
: the volume is waiting to be provisionedmissing
: all disks have been discovered, but the volume cannot be foundlocated
: the volume is found without prior provisioningprovisioned
: the volume has been provisioned (e.g., partitioned, resized if necessary)prepared
: the encrypted volume is openready
: the volume is formatted and ready to be mountedclosed
: the encrypted volume is closed, and ready to be unmounted
Mounts
Volumes are mounted when they are ready to be used, mounts are tracked in two resources:MountRequest
describes the desired mount, while MountStatus
describes the current state of the mount.
Mount Request
Mount requests are created automatically by Talos Linux based on the volume configuration, service configuration, etc. To see the current mount requests, you can use the following command:Mount Status
As the volumes are mounted, the status of the mounts is updated in theMountStatus
resource: