Hi,

I just tested this on a test cluster, and got the same error. If the VM is stopped, it works OK. If <vmid>.conf has hotplug: 1 doesn't work either.
root@pmx1:/etc/pve/nodes/pmx2# pveversion -v
proxmox-ve-2.6.32: 3.2-129 (running kernel: 2.6.32-30-pve)
pve-manager: 3.2-4 (running version: 3.2-4/e24a91c1)
pve-kernel-2.6.32-30-pve: 2.6.32-130
pve-kernel-2.6.32-29-pve: 2.6.32-126
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.5-1
pve-cluster: 3.0-12
qemu-server: 3.1-16
pve-firmware: 1.1-3
libpve-common-perl: 3.0-18
libpve-access-control: 3.0-11
libpve-storage-perl: 3.0-19
pve-libspice-server1: 0.12.4-3
vncterm: 1.1-6
vzctl: 4.0-1pve5
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.7-8
ksm-control-daemon: 1.1-1
glusterfs-client: 3.4.2-1



On 09/07/14 16:02, Gilou wrote:
Hi,

I'm new on the list, so if you think this shouldn't be posted here, feel free to direct me elsewhere.

I tried to resize a disk on Windows 2012/2008, and I got this error :
you can't online resize a virtio windows bootdisk

Why not ? It seems to be fully supported on 2008 & 2012, so I wonder if I missed some incompatibility that would blow out at my face..

Code is in API2/Qemu.pm:2643 (in 3.2-129)
            die "you can't online resize a virtio windows bootdisk\n"
if PVE::QemuServer::check_running($vmid) && $conf->{bootdisk} eq $disk && $conf->{ostype} =~ m/^w/ && $disk =~ m/^virtio/;

I would say something like $conf->{ostype} =~ m/^w[^i]/ to only match pre-2008 windows, that most likely won't like this kind of resizing (Or let Proxmox believe it's Linux, but I guess that would have other implications, maybe).


Regards,

Gilles
_______________________________________________
pve-user mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user




--
Zuzendari Teknikoa / Director Técnico
Binovo IT Human Project, S.L.
Telf. 943575997
      943493611
Astigarraga bidea 2, planta 6 dcha., ofi. 3-2; 20180 Oiartzun (Gipuzkoa)
www.binovo.es

_______________________________________________
pve-user mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user

Reply via email to