KVM Centos Hdd almost empty, but backup 35G

fcukinyahoo

New Member
Nov 29, 2012
27
0
1
Good Day,

I m seeing a wierd pattern when i take a backup of one of my KVMs.

I used to have over 40G of data in that kvm centos, then removed all those files/folders not there is only 1G of data in that server. I took a backup of that kvm on proxmox and it took forever and i see that the backup file is over 35G?

What might be the problem here

here is df -h on that kvm centos;
[administrator@svn ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_svn-lv_root
47G 880M 44G 2% /
tmpfs 120M 0 120M 0% /dev/shm
/dev/vda1 485M 32M 429M 7% /boot
 

spirit

Famous Member
Apr 2, 2010
3,588
165
83
www.odiso.com
This is because when you delete a file, the datas are not deleted from the disk,only the file entry in the filesystem.

you can use "zerofree" tools the clean the disk. (must be unmounted)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!