External volumes allow mounting volumes that were created outside of Talos, over the hypervisor or network. Unlike user volumes which provision new storage from Talos-managed disks, or existing volumes which mount pre-existing partitions, external volumes are provisioned and managed by the hypervisor. External volumes are mounted underDocumentation Index
Fetch the complete documentation index at: https://docs.siderolabs.com/llms.txt
Use this file to discover all available pages before exploring further.
/var/mnt/<name>.
Virtiofs is a shared file system that lets virtual machines access a directory tree on the host.
Unlike other approaches, it is designed to offer local file system semantics and performance.
Virtiofs uses FUSE as the foundation.
Unlike traditional FUSE where the file system daemon runs in userspace, the virtiofs daemon runs on the host.
A VIRTIO device carries FUSE messages and provides extensions for advanced features.
Virtiofs is available in mainline Linux since version 5.4, QEMU 5.0, and libvirt 6.2.
Requirements
External volumes require Talos to run inside a virtual machine with virtiofs support from the hypervisor. The following hypervisors are supported:- QEMU
- libvirt
- Proxmox VE
- Other hypervisors that support virtiofs
Note: External volumes are not available on bare metal machines.
Create external volumes
To create an external volume, append the following document to the machine configuration:virtiofs-data is created, which will be mounted at /var/mnt/virtiofs-data on the node.
The status of the volume can be checked using the following command:
/var/mnt/virtiofs-data.
Remove external volumes
Before removing an external volume, ensure that it is not used anymore. In order to remove an external volume, first remove the configuration document from the machine configuration. TheVolumeStatus resource will be removed automatically by Talos Linux.
Note: The actual disk data hasn’t been removed yet, so you can re-apply the external volume configuration back and the volume will be available again. To remove the disk data, you need to remove it from the virtual machine host manually.