-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disk usage numbers in Qube Manager are deceptive #7535
Comments
For the LVM storage driver, getting the actual amount of space used requires using the |
Generally, any kind of copy-on-write pool (which are both lvm thin and btrfs) made it rather hard to answer "how much space this thing uses". That's because part of the VM disk may be shared with something else. I mean, technically you can figure it out, but then presenting it to the user is tricky. Lets use an example:
This means, 8GB out of those 10GB are shared between those templates. If you remove just Template2, you will free up just 2GB, but if you remove Template1 first, then removing Template2 will free up whole 10GB. |
How do other OSes and tools handle this? |
one example is the zfs |
What about using "Physical Disk Usage" (Space freed if qube is deleted) and "Virtual Disk Usage" (Used space as seen from inside VM, i.e. no-ref-deep-clone size). |
How to file a helpful issue
Qubes OS release
4.1
Brief summary
After the Qubes storage widget tells a user they are low on disk space, one can try to free up space by deleting qubes from the Qube Manager. However, the disk space listed under "Disk Usage" is not always the amount that becomes free if you delete that qube. (particularly templates)
I suspect this is related to "cloning" a template making a copy-on write copy of the template instead of a full copy of the data (which is a good thing, but it makes it confusing for the user to try to understand how to free space)
There is also the confusing factor that certain deleted disk space only shows up as free in the Qube storage widget after a reboot.
The text was updated successfully, but these errors were encountered: