good morning everyone. I have a question, maybe someone can help me.
My qcow2 images are not working on thin-provion, the images on NAS-NFS are being counted on the total size of the disk and not the actual size used by the VM, so I'm always having to have more space even than the clients' vm do not use the total space.
Does anyone know how I can adjust this to only tell what is in use in vm? see an example:
root@node01:/mnt/pve/stor01/images/100# ls -alh vm-100-disk-0.qcow2
-rw-r-----+ 1 root root 41G jun 28 08:56 vm-100-disk-0.qcow2
root@node01:/mnt/pve/stor01/images/100# du -h vm-100-disk-0.qcow2
40G vm-100-disk-0.qcow2
But this vm use only this:
[root@vps ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_vps-lv_root
35G 4,7G 29G 15% /
tmpfs 939M 0 939M 0% /dev/shm
/dev/sda1 477M 127M 325M 29% /boot
My qcow2 images are not working on thin-provion, the images on NAS-NFS are being counted on the total size of the disk and not the actual size used by the VM, so I'm always having to have more space even than the clients' vm do not use the total space.
Does anyone know how I can adjust this to only tell what is in use in vm? see an example:
root@node01:/mnt/pve/stor01/images/100# ls -alh vm-100-disk-0.qcow2
-rw-r-----+ 1 root root 41G jun 28 08:56 vm-100-disk-0.qcow2
root@node01:/mnt/pve/stor01/images/100# du -h vm-100-disk-0.qcow2
40G vm-100-disk-0.qcow2
But this vm use only this:
[root@vps ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_vps-lv_root
35G 4,7G 29G 15% /
tmpfs 939M 0 939M 0% /dev/shm
/dev/sda1 477M 127M 325M 29% /boot