Change size of IDE0

Ole

Member
May 17, 2013
41
0
6
1) Proxmox: Hi how do I change the size of the Ide0 on a VM ? I want ot have it a bit larger.

2) Linux: Will ubuntu linux find the new hdisk space or must I run some command so Linux "see" that the hdisk is larger.

3) Proxmox: I also are trying to see how mutch hdiskspace that is avaliable in Proxmox to use and how mutch that is used?

Thank you.

Ole
 
Hi I have tried both to change the size of the hdisk in the virtual enviroment and from command line.. I get following errror

VM 105 qmp command 'block_resize' failed - this feature or command is not currently supported

I then stopped the VM

And tried some commands..

qm resize 105 ide0 +170G

and qm resize vm-105-disk-1.qcow2 +170G

Still no luck in teh Gui or in the command window.
I get an error 500

Any idea what is problem?

Ole
 
you run latest version? check with 'pveversion -v'
 
No I am using version 2.3

I also tried the update script to ver 3.0 in the sticked post but I got some errors.

SO if I upodate to ver 3 thsi shoudl work fine?

Ole
 
should also work with 2.3.

pls post 'pveversion -v'
 
The version command shows this.

pve-manager: 2.3-13 (pve-manager/2.3/7946f1f1)
running kernel: 2.6.32-19-pve
proxmox-ve-2.6.32: 2.3-96
pve-kernel-2.6.32-19-pve: 2.6.32-96
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.4-4
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.93-2
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.9-1
pve-cluster: 1.0-36
qemu-server: 2.3-20
pve-firmware: 1.0-21
libpve-common-perl: 1.0-49
libpve-access-control: 1.0-26
libpve-storage-perl: 2.3-7
vncterm: 1.0-4
vzctl: 4.0-1pve2
vzprocps: not correctly installed
vzquota: 3.1-1
pve-qemu-kvm: 1.4-10
ksm-control-daemon: not correctly installed
 
why do you have some "not correctly installed" packages?

try to fix.
 
Наверное ты как мой товарищ наделал snapshots
Code:
root@s6 /var/lib/vz/images/101 # qemu-img resize vm-101-disk-1.qcow2 +5GB
qemu-img: Can't resize an image which has snapshots
qemu-img: This image does not support resize
удали snapshots


И да прибудет с тобой счастие
 

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!