While debugging Metadata space for pool vm-pool is running out. Current usage: 95% , I found that I apparently have storage for a lot of disposable VMs that aren’t even running anymore. I suspect that they might be left over when dispVMs were running while the battery ran empty.
$ sudo lvs -a | grep -oE vm-disp[0-9]+ | sort | uniq | wc -l
379
Storage for 379 dispVMs! I only have 3 running at the moment.
Is it safe to just delete these using LVM tools? (What command would I need to delete a single one?)
EDIT : I opened an issue about this: QubesOS#11086 .
qubist
August 27, 2026, 1:42pm
2
Check the cleanup script in this thread that handles removal of leftover logs and menus of non-existing qubes.
I didn’t run the script but tried reading it. I think the script doesn’t seem to do anything about the storage volumes that I’m wondering about.
qubist
August 27, 2026, 4:13pm
4
I suppose you can delete the volumes, if you are sure they are unused but try with one first.
BTW, the command you provide shows 0 here. How did you end up with such a big number?
I assume it’s because I let the laptop run out of battery too often, while having lots of dispVMs open.
qubist
August 27, 2026, 4:33pm
6
I guess I may need to rework the cleanup script to handle cases like yours too.
Let me know what worked for you, so I can consider it for future versions.
IWBB
August 29, 2026, 2:07pm
7
Because installing applications in dom0 increases its attack surface.