[PVE-User] KVM image space.

Muhammad Yousuf Khan sirtcp at gmail.com
Fri Jul 20 08:55:11 CEST 2012

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

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

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


More information about the pve-user mailing list