Disk disagreement between qvm-ls and disk widget?

My disk space widget reports vm-pool using ~520GB disk space (“data 64.5% 519.0 GiB/804.3GiB”).

qvm-ls -d seems to disagree; summing the DISK column shows only ~330GB used.

[user@dom0 ~]$ qvm-ls -d  | awk '$3 ~ /^[0-9]+$/ {total += $3}; END {print total}'
330476

There seems to be a ~190GB disagreement? Or am I failing to understand something?

I recently deleted some quite large files from a VM (ordinary appVM based on a template) but the total in the widget never seemed to go down. I emptied the trash, shut down the VM with no issues, and I have restarted the machine since then. Is there some additional step to get the widget to update?

Thanks for any guidance.

Look at /dev/qubes-dom0 - most likely you still have some “private-back”
devices which include those large files.
You can force an update by rinsing the qube, with optional fstrim -av in the
qube.

1 Like

Thanks, unman. Plenty of those, yes, all dated to yesterday. I’m not in a hurry to get the space back on this drive, was worried my future backups (qvm-backup) might be bloated somehow with the old files I deleted, which I am guessing is not the case.