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]
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, 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 yours easily in our online shop.

Buy now!