Hi all,
I'm trying to cleanup a little bit of disk space on a node.
During my search I found:
root@proxmox1:/var/lib/vz/images/102# ls -lah
total 91G
drwxr-xr-x 2 root root 4.0K Dec 25 14:08 .
drwxr-xr-x 11 root root 4.0K Nov 14 09:39 ..
-rw-r--r-- 1 root root 133G Dec 25 14:10 vm-102-disk-1.qcow2
It shows the dir 91GB but the .qcow2 file inside that dir is 133GB.
Now, I've just logged in to this vm and the total usage space is about 14GB:
root@:~# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 76G 14G 59G 19% /
udev 10M 0 10M 0% /dev
tmpfs 791M 256K 791M 1% /run
/dev/disk/by-uuid/1c56ce75-4d63-4489-9fce-c257d5269afa 76G 14G 59G 19% /
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 2.3G 0 2.3G 0% /run/shm
Under the 102 vm the disk space that I've allocated is 80GB.
Where on earth are the rest of the GBs that seems to be used?
I've deleted all snapshots for that VM (before that it was even more than 91GB).
Thanks
I'm trying to cleanup a little bit of disk space on a node.
During my search I found:
root@proxmox1:/var/lib/vz/images/102# ls -lah
total 91G
drwxr-xr-x 2 root root 4.0K Dec 25 14:08 .
drwxr-xr-x 11 root root 4.0K Nov 14 09:39 ..
-rw-r--r-- 1 root root 133G Dec 25 14:10 vm-102-disk-1.qcow2
It shows the dir 91GB but the .qcow2 file inside that dir is 133GB.
Now, I've just logged in to this vm and the total usage space is about 14GB:
root@:~# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 76G 14G 59G 19% /
udev 10M 0 10M 0% /dev
tmpfs 791M 256K 791M 1% /run
/dev/disk/by-uuid/1c56ce75-4d63-4489-9fce-c257d5269afa 76G 14G 59G 19% /
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 2.3G 0 2.3G 0% /run/shm
Under the 102 vm the disk space that I've allocated is 80GB.
Where on earth are the rest of the GBs that seems to be used?
I've deleted all snapshots for that VM (before that it was even more than 91GB).
Thanks