Ticket #709 (closed defect: fixed)
I can't compact linux guest VDIs efficiently
|Reported by:||cmuller||Owned by:|
|Version:||VirtualBox 1.5.0||Keywords:||compact linux ext2 ext3|
I'm wondering if I'm the only one having this problem (?). Using the VBoxManage modifyvdi name.vdi compact command, and after zeroing the disk, I am able to always recover space on FAT32 partitions (Windows guests) but I could never succeed doing that with Linux guests, either on ext2 or ext3 partitions. I have being also zeroing them with dd if=/dev/zero or with the zerofree method described in the forums but nothing seems to work. On FAT32 I have a vdi which is maybe 10% bigger of what Windows tells as size. On ext2 it can be as bad as a partition containing 250 MB (that's what du and df say) gives me a 2GB VDI!! (after compacting). It's a / partition of a Debian/Etch minimum install and I zeroed it using a rescue iso disk. I really can't see what I'm doing wrong! Thanks for your help.