Skip to content

Storage Management & Host Maintenance

Container hosts accumulate unused image layers, build caches, and dangling volumes over time. StackPilot includes a comprehensive Storage Inspector and maintenance toolset to monitor disk health and reclaim storage space.


1. Host Storage Inspector

To inspect host storage: 1. Navigate to the target host in the web dashboard. 2. In the host metrics card, click Storage Details.

The modal breaks down storage utilization across four core categories:

  • Filesystem Mounts: Visual disk usage bars across all mounted host partitions (e.g., /, /mnt/data, /mnt/backups).
  • Container Images: Complete list of downloaded container images with repository tags, image IDs, and disk footprint.
  • Persistent Volumes: Podman named volumes and host bind mounts.
  • Build Cache & OverlayFS: Space consumed by temporary container layers and intermediate build artifacts.

2. Disk Threshold Alerts

StackPilot monitors host disk capacity and displays proactive warning indicators:

  • 🟢 Healthy (< 80%): Standard display.
  • 🟡 Warning (80% - 90%): Mount point progress bar turns yellow, alerting the operator that storage is running low.
  • 🔴 Critical (> 90%): Mount point turns red and an alert is added to the Attention Required rail on the Fleet Dashboard.

3. Pruning & Reclaiming Storage

StackPilot provides targeted, safe pruning actions directly from the Storage Inspector modal:

Bulk Delete Unused Images:

Click Prune Unused Images to remove dangling and unreferenced container images that are not associated with any running or stopped Quadlet service.

Purging Orphan Volumes:

Over time, deleted services can leave behind named volumes. StackPilot identifies orphan volumes with zero active mounts and allows one-click deletion.

Clearing Build Cache:

If you build custom images using Podman or Docker, intermediate cache layers can consume tens of gigabytes. Click Clear Build Cache to reclaim this space safely.


4. Host Maintenance Best Practices

  1. Schedule Automated Pruning: Run regular storage audits after updating large multi-service stacks.
  2. Inspect OverlayFS Growth: If an unmanaged container generates excessive log files inside the container layer rather than a mounted volume, the Storage Inspector will flag abnormal overlayfs growth.
  3. Verify Mount Health: Before initiating updates, check that your /mnt/backups NFS share is mounted and has sufficient free space.