actual size shrink. how

parbat bhatiya

New Member
Jun 19, 2018
22
0
1
33
hello

i have. http://local:108/vm-108-disk-1.qcow2

qcow2. size is. 1tb hard drive but used only 200 gb but even disk file qcow2 is 1tb size

is there any way i can decrease as my data is only 200 gb

how i can shrink and keep as what data size only can be disk size also possible or how ?
 

dcsapak

Proxmox Staff Member
Staff member
Feb 1, 2016
3,706
338
83
31
Vienna
how do you determine the size? notice that ls shows the 'virtual' size, not the one actual used. for this you can use 'du'
like this:
Code:
du -sh /var/lib/vz/108/vm-108-disk-1.qcow2
 

parbat bhatiya

New Member
Jun 19, 2018
22
0
1
33
yes i did like this but seeing full size instead of actual size ther eshould be 200 gb only as total 1tb but used only 200 gb
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!