Score:0

Multipass VM size on disk too large

cn flag

I have a multipass VM for running Kubernetes. Some Kubernetes workloads took up a lot of space in the VM. I have cleared that space within the VM now but on the host machine the space occupied on the VM has not gone down. In fact it has gone up from 37.2 GB to 46.2 GB!

How do I reclaim space and make it usable on the host machine without deleting the VM?

Size of VM as seen from host: enter image description here

Output of df -h inside the VM: enter image description here

Christian Ehrhardt avatar
sl flag
The problem is that the host can not know the difference between a file containing zeros and real deleteded content. Therefore it only keeps growing - but gladly there are tools to re-sparsify this - have a look at https://serverfault.com/questions/432119/is-there-any-way-to-shrink-qcow2-image-without-converting-it-raw
Dojo avatar
cn flag
I had left it alone for a few days, and now it has shrunk in size. There have been a few host reboots during that time. I guess, it take a reboot for the auto cleanup.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.