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

Reply via email to