KVM Centos Hdd almost empty, but backup 35G

Discussion in 'Proxmox VE: Installation and configuration' started by fcukinyahoo, Aug 19, 2013.

  1. fcukinyahoo

    fcukinyahoo New Member

    Joined:
    Nov 29, 2012
    Messages:
    27
    Likes Received:
    0
    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
     
  2. spirit

    spirit Well-Known Member

    Joined:
    Apr 2, 2010
    Messages:
    3,323
    Likes Received:
    135
    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)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice