[PVE-User] Hot resize of Windows virtio disks ?

Gilberto Nunes gilberto.nunes32 at gmail.com
Wed Jul 9 21:20:32 CEST 2014


I make some research here, I seems to me that resize disk works only with
no-system boot disk.
So, with C: wouldn't work!
That's right?


2014-07-09 16:04 GMT-03:00 Gilberto Nunes <gilberto.nunes32 at gmail.com>:

> Hi again
>
> First, I thing that I cannot resize the VM disk on-line, because I used an
> out of date Virtio Drive..
> So, I install a new VM with Windows 2012 using last Virtio Drive and still
> can't resize a disk with an online VM!...
>
> Is there some bug with Virtio Driver or Qemu?? I'm using
> Virtio-Win-0.1-81.iso...
>
> Thanks
>
>
> 2014-07-09 11:50 GMT-03:00 Gilou <contact+dev at gilouweb.com>:
>
> Le 09/07/2014 16:36, Gilberto Nunes a écrit :
>>
>>  Hello
>>>
>>> I have tried here too and get the same error...
>>>
>>
>> The code doesn't lie, if you put your OS type to linux, it'll work (or
>> change the .pm file, and restart pvedaemon, but you might not want to do
>> this ;))
>>
>> Cheers,
>>
>> Gilles
>>
>>
>>
>>>
>>>
>>> 2014-07-09 11:25 GMT-03:00 Eneko Lacunza <elacunza at binovo.es
>>> <mailto:elacunza at binovo.es>>:
>>>
>>>
>>>     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 at 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
>>>>     pve-user at pve.proxmox.com <mailto:pve-user at pve.proxmox.com>
>>>>     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  <http://www.binovo.es>
>>>
>>>
>>>     _______________________________________________
>>>     pve-user mailing list
>>>     pve-user at pve.proxmox.com <mailto:pve-user at pve.proxmox.com>
>>>
>>>     http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>>>
>>>
>>>
>>>
>>> --
>>> Gilberto Ferreira
>>>
>>>
>>> _______________________________________________
>>> pve-user mailing list
>>> pve-user at pve.proxmox.com
>>> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>>>
>>>
>> _______________________________________________
>> pve-user mailing list
>> pve-user at pve.proxmox.com
>> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>>
>
>
>
> --
> Gilberto Ferreira
>



-- 
Gilberto Ferreira
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20140709/331506e7/attachment.htm>


More information about the pve-user mailing list