Incus Volume Usage Graph
By chimo on (updated on )A random idea crossed my mind yesterday: create a graph of which volume is used by which Incus container. So I spent a little time messing around creating a silly script that generates a .dot file to visualize that.

This version of the script relies on yq to parse the output of “incus storage volume show”. I might look into replacing this with a “incus query” call instead, if possible. Just because I never used that part of Incus, and I’m curious about how that works in practice.