15.3.4.3. File-serving pod architecture
The file-serving pod uses libguestfs and FUSE to mount VM disk images without requiring privileged access. The initialization container performs the following steps:
- Scans PVCs to locate VM disk image files.
-
Detects disk image formats, including
qcow2andraw. -
Mounts disk images as read-only under the
/backups/directory. - Organizes files by backup name and PVC name.
After initialization, the sidecars provide file access through web or SSH methods.
The mounted directory structure provides an intuitive organization as shown in the following example:
/backups/
<backup_name_1>/
<vm_disk_root>/
etc/
var/
<vm_disk_data>/
application-data/
<backup_name_2>/
<vm_disk_root>/
etc/
var/