Hello,
I found that my VM dumps are bigger than the used disk space inside my VMs. I made some searches and found this is because removed files from the disk are just flagged to be deleted but not removed from the disk. I understand that.
I found that I can zero-fill my free space with dd, but I think this is an ugly hack that can cause problems on production servers (this make a lot of IO for nothing and the disk become full for some time, so some process may fail to write real data on the filesystem).
Do you plan to enhance vzdump and backup only useful data blocks (ignoring data blocks marked as removed). I suspect this would need support for specific filesystems.
This would be really useful, because this make a very big waste of disk space on my backups volume.
Thanks!
I found that my VM dumps are bigger than the used disk space inside my VMs. I made some searches and found this is because removed files from the disk are just flagged to be deleted but not removed from the disk. I understand that.
I found that I can zero-fill my free space with dd, but I think this is an ugly hack that can cause problems on production servers (this make a lot of IO for nothing and the disk become full for some time, so some process may fail to write real data on the filesystem).
Do you plan to enhance vzdump and backup only useful data blocks (ignoring data blocks marked as removed). I suspect this would need support for specific filesystems.
This would be really useful, because this make a very big waste of disk space on my backups volume.
Thanks!