Proxmox virtual disk size change

kaufenpreis

New Member
Nov 26, 2014
19
2
3
23
www.webdoctoronline.de
i have problem with disk resize.

I try to change size in Proxmox, but show size in virtual machine not showing.

But if I try qemu-img info vm-100-disk-1.qcow2 i have this result:

image: vm-100-disk-1.qcow2
file format: qcow2
virtual-size: 491G (527207235584 bytes)
disk size: 161G
cluster_size: 65536
Format specific information:
compat: 1.1
lazy refcounts: false

What is virtual size? This as I tried to adjust the size, I increased the size of the virtual disk more than really has.

I need this: virtual size: 250G disk size: 250G

Can you help me wih this problem?

Thank you in advance.

ps. Debian wheezy (updated)
 
Hello kaufenpreis

I try to change size in Proxmox, but show size in virtual machine not showing.

How did you

- "try" to change?

- expect that it is "showed"?

But if I try qemu-img info vm-100-disk-1.qcow2 i have this result:

image: vm-100-disk-1.qcow2
file format: qcow2
virtual-size: 491G (527207235584 bytes)
disk size: 161G
cluster_size: 65536
Format specific information:
compat: 1.1
lazy refcounts: false

What is virtual size? This as I tried to adjust the size, I increased the size of the virtual disk more than really has.

Virtual size = The size which is seen inside the VM

Disk size = The space which is physically occupied by your virtual disk

You define always the Virtual size - depending on the format and needs the host OS occupies more or less space. When you choose "raw" format Virtual and Disk size are identical. Such a disk performs faster, but consumes more resources. If you have only a few machines you may have sufficient physical disk capacity so you can define all virtual disks as "raw".

See also https://pve.proxmox.com/wiki/Resize_disks

Kind regards

Mr.Holmes




I need this: virtual size: 250G disk size: 250G

Can you help me wih this problem?

Thank you in advance.

ps. Debian wheezy (updated)[/QUOTE]