[PVE-User] KVM image space.

CoolCold coolthecold at gmail.com
Fri Jul 20 11:43:50 CEST 2012


On Fri, Jul 20, 2012 at 10:55 AM, Muhammad Yousuf Khan <sirtcp at gmail.com>wrote:

> when i check the size of a vm via "du" it showed me that it is just 35
> GB but when i "ls" the vm it show me the file size that i have made on
> runtime.
>
> king:/var/lib/vz/images# du -sh 203
> 35G     203
> king:/var/lib/vz/images# ls -ltrh 203
> total 35G
> -rw-r--r-- 1 root root 110G Jul 19 23:17 vm-203-disk-1.raw
> -rw-r--r-- 1 root root  25G Jul 19 23:25 vm-203-disk-2.raw
> king:/var/lib/vz/images#
>
> I bet this is just sparse file .

>
> and also df showing me very different figures.
>
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/mapper/pve-root   58G  710M   54G   2% /
> tmpfs                 5.9G     0  5.9G   0% /lib/init/rw
> udev                   10M  736K  9.3M   8% /dev
> tmpfs                 5.9G     0  5.9G   0% /dev/shm
> /dev/mapper/pve-data  157G   61G   97G  39% /var/lib/vz
> /dev/sdb1             504M   35M  445M   8% /boot
>
>
> according to what "ls" shows, this couldn't have been fit in this folder.
>
>
> Plz help
>
> Thanks,
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>



-- 
Best regards,
[COOLCOLD-RIPN]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20120720/2f5e9cdb/attachment.htm>


More information about the pve-user mailing list