Duplicate of Automate recovering free space from VDI disks ?
Citation required.
Automate recovering free space from VDI disks is where you got this from?
Anonymous6:
Given these risks and the lack of a safe, straightforward method for Windows hosts, I would greatly appreciate guidance on how to proceed safely or alternative risk free strategies to prevent the VDI from continuously growing. Is there a way to safely zero-fill the disk or use TRIM effectively in this environment so that I can reclaim space for the host OS?
As for user documentation, we only have this:
Note:
Nothing more available at the time of writing.
Anonymous6:
edit1: After trying to get zerofree I got this error “package zerofree is not available but is referred to by another package this may mean that the package is missing for has been obsoleted or is only available from another source. Error: package “zerofree” has no installation candidate zsh: exit 100 sudo apt install zerofree“
edit2: Not quite sure what to do now since zerofree won’t install after typing “sudo apt install zerofree“. Could not find any solution online on how to install zerofree without the error message. I guess the vdi is going to just keep growing untill it eats up the host space…..
Try to install any package whatsoever first for testing purposes. Not zerofree. Another package. To confirm the system isn’t severely broken. As per: Package Installation from Debian Package Sources
sudo apt update
sudo apt install hello
Run systemcheck.
systemcheck