Skip to main content
This section contains information about the resources created by Talos Linux to manage volumes on the machine. This information is useful for understanding how Talos Linux manages volumes and how to debug issues related to volumes.

Volumes

The configuration of volumes is defined using the VolumeConfig 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:
In the provided output, the volumes 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:
Each volume goes through different phases during its lifecycle:
  • waiting: the volume is waiting to be provisioned
  • missing: all disks have been discovered, but the volume cannot be found
  • located: the volume is found without prior provisioning
  • provisioned: the volume has been provisioned (e.g., partitioned, resized if necessary)
  • prepared: the encrypted volume is open
  • ready: the volume is formatted and ready to be mounted
  • closed: 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 the MountStatus resource: