↧
Answer by shodanshok for QEMU - incorrect real disk size of a virtual drive
qemu-img and du both report the actual allocated space from host point of view. They can not know/understand if the guest OS is really using that space or if, as in you case, it was freed by the...
View ArticleAnswer by batistuta09 for QEMU - incorrect real disk size of a virtual drive
It’s expected behavior. As you wrote, “after I deleted some files and reduced the used space from 1.9T to 761G” - raw virtual image cannot “collect garbage” automatically and the real space will remain...
View ArticleQEMU - incorrect real disk size of a virtual drive
df and ls report different sizes on my host machine because of the difference between the allocated size and the amount of space that's actually used in the EXT4 filesystem.The problem is that both...
View Article