<div dir="ltr">Sorry... Perhaps I misunderstood something...</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-07-15 13:19 GMT-03:00 Alexandre DERUMIER <span dir="ltr"><<a href="mailto:aderumier@odiso.com" target="_blank">aderumier@odiso.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">>>If so, I indeed would like more information on that bug. However, I can<br>
>>successfully resize C:\ disks on Windows 2008 R2 & Windows 2012, Windows<br>
>>2012 R2 using the latest virtio drivers, so I guess it was fixed, or I<br>
>>just didn't hit it...<br>
<br>
</div>I should be more precise:<br>
<br>
virtio-scsi is working fine since the beginning. (proxmox : scsi disk + virtio scsi controller in options)<br>
<br>
but virtio-blk was buggy (proxmox : virtio disk)<br>
<div class=""><br>
<br>
<br>
----- Mail original -----<br>
<br>
De: "Gilou" <<a href="mailto:contact%2Bdev@gilouweb.com">contact+dev@gilouweb.com</a>><br>
Cc: <a href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a><br>
</div>Envoyé: Mardi 15 Juillet 2014 11:01:26<br>
<div class="HOEnZb"><div class="h5">Objet: Re: [PVE-User] Hot resize of Windows virtio disks ?<br>
<br>
Le 15/07/2014 10:33, Alexandre DERUMIER a écrit :<br>
> Hi,<br>
><br>
>>> I'm not trying to make it work, I can see why it doesn't. I would like<br>
>>> to know the reason for having it disabled, if there's one still<br>
>>> standing. And have the condition altered if there's no reason to keep it ;)<br>
><br>
><br>
> I need to make a patch to enable resize of virtio0 disk.<br>
><br>
> It was disabled because of a bug in previous virtio drivers. (only for the c:\, boot disk),<br>
> giving instant bluescreen.<br>
<br>
<br>
Hi,<br>
<br>
If so, I indeed would like more information on that bug. However, I can<br>
successfully resize C:\ disks on Windows 2008 R2 & Windows 2012, Windows<br>
2012 R2 using the latest virtio drivers, so I guess it was fixed, or I<br>
just didn't hit it...<br>
<br>
Cheers<br>
<br>
Gilles<br>
><br>
><br>
><br>
><br>
> ----- Mail original -----<br>
><br>
> De: "Gilou" <<a href="mailto:contact%2Bdev@gilouweb.com">contact+dev@gilouweb.com</a>><br>
> Cc: <a href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a><br>
> Envoyé: Mercredi 9 Juillet 2014 23:10:33<br>
> Objet: Re: [PVE-User] Hot resize of Windows virtio disks ?<br>
><br>
> Le 09/07/2014 21:04, Gilberto Nunes a écrit :<br>
>> Hi again<br>
>><br>
>> First, I thing that I cannot resize the VM disk on-line, because I used<br>
>> an out of date Virtio Drive..<br>
>> So, I install a new VM with Windows 2012 using last Virtio Drive and<br>
>> still can't resize a disk with an online VM!...<br>
>><br>
>> Is there some bug with Virtio Driver or Qemu?? I'm using<br>
>> Virtio-Win-0.1-81.iso...<br>
> ,<br>
><br>
> Hi<br>
> The web interface tells you that you can't.. But if you tell Proxmox<br>
> it's Linux inside instead of Windows (or you can also remove the disk,<br>
> qemu-img resize it, then add it back, then issue block_resize<br>
> disk-virtio0 blabla in the monitor), it'll allow the change and Windows<br>
> will work fine with it, afaict.<br>
><br>
> I'm not trying to make it work, I can see why it doesn't. I would like<br>
> to know the reason for having it disabled, if there's one still<br>
> standing. And have the condition altered if there's no reason to keep it ;)<br>
><br>
> Cheers<br>
><br>
> Gilles<br>
><br>
>><br>
>> Thanks<br>
>><br>
>><br>
>> 2014-07-09 11:50 GMT-03:00 Gilou <<a href="mailto:contact%2Bdev@gilouweb.com">contact+dev@gilouweb.com</a><br>
>> <mailto:<a href="mailto:contact%2Bdev@gilouweb.com">contact+dev@gilouweb.com</a>>>:<br>
>><br>
>> Le 09/07/2014 16:36, Gilberto Nunes a écrit :<br>
>><br>
>> Hello<br>
>><br>
>> I have tried here too and get the same error...<br>
>><br>
>><br>
>> The code doesn't lie, if you put your OS type to linux, it'll work<br>
>> (or change the .pm file, and restart pvedaemon, but you might not<br>
>> want to do this ;))<br>
>><br>
>> Cheers,<br>
>><br>
>> Gilles<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> 2014-07-09 11:25 GMT-03:00 Eneko Lacunza <<a href="mailto:elacunza@binovo.es">elacunza@binovo.es</a><br>
>> <mailto:<a href="mailto:elacunza@binovo.es">elacunza@binovo.es</a>><br>
>> <mailto:<a href="mailto:elacunza@binovo.es">elacunza@binovo.es</a> <mailto:<a href="mailto:elacunza@binovo.es">elacunza@binovo.es</a>>>>:<br>
>><br>
>><br>
>> Hi,<br>
>><br>
>> I just tested this on a test cluster, and got the same<br>
>> error. If the<br>
>> VM is stopped, it works OK. If <vmid>.conf has hotplug: 1<br>
>> doesn't<br>
>> work either.<br>
>> root@pmx1:/etc/pve/nodes/pmx2# pveversion -v<br>
>> proxmox-ve-2.6.32: 3.2-129 (running kernel: 2.6.32-30-pve)<br>
>> pve-manager: 3.2-4 (running version: 3.2-4/e24a91c1)<br>
>> pve-kernel-2.6.32-30-pve: 2.6.32-130<br>
>> pve-kernel-2.6.32-29-pve: 2.6.32-126<br>
>> lvm2: 2.02.98-pve4<br>
>> clvm: 2.02.98-pve4<br>
>> corosync-pve: 1.4.5-1<br>
>> openais-pve: 1.1.4-3<br>
>> libqb0: 0.11.1-2<br>
>> redhat-cluster-pve: 3.2.0-2<br>
>> resource-agents-pve: 3.9.2-4<br>
>> fence-agents-pve: 4.0.5-1<br>
>> pve-cluster: 3.0-12<br>
>> qemu-server: 3.1-16<br>
>> pve-firmware: 1.1-3<br>
>> libpve-common-perl: 3.0-18<br>
>> libpve-access-control: 3.0-11<br>
>> libpve-storage-perl: 3.0-19<br>
>> pve-libspice-server1: 0.12.4-3<br>
>> vncterm: 1.1-6<br>
>> vzctl: 4.0-1pve5<br>
>> vzprocps: 2.0.11-2<br>
>> vzquota: 3.1-2<br>
>> pve-qemu-kvm: 1.7-8<br>
>> ksm-control-daemon: 1.1-1<br>
>> glusterfs-client: 3.4.2-1<br>
>><br>
>><br>
>><br>
>><br>
>> On 09/07/14 16:02, Gilou wrote:<br>
>><br>
>> Hi,<br>
>><br>
>> I'm new on the list, so if you think this shouldn't be<br>
>> posted<br>
>> here, feel free to direct me elsewhere.<br>
>><br>
>> I tried to resize a disk on Windows 2012/2008, and I<br>
>> got this error :<br>
>> you can't online resize a virtio windows bootdisk<br>
>><br>
>> Why not ? It seems to be fully supported on 2008 &<br>
>> 2012, so I<br>
>> wonder if I missed some incompatibility that would blow<br>
>> out at my<br>
>> face..<br>
>><br>
>> Code is in API2/Qemu.pm:2643 (in 3.2-129)<br>
>> die "you can't online resize a virtio<br>
>> windows bootdisk\n"<br>
>> if<br>
>> PVE::QemuServer::check___running($vmid) &&<br>
>> $conf->{bootdisk} eq $disk && $conf->{ostype} =~ m/^w/<br>
>> && $disk =~<br>
>> m/^virtio/;<br>
>><br>
>> I would say something like $conf->{ostype} =~ m/^w[^i]/<br>
>> to only<br>
>> match pre-2008 windows, that most likely won't like<br>
>> this kind of<br>
>> resizing (Or let Proxmox believe it's Linux, but I<br>
>> guess that<br>
>> would have other implications, maybe).<br>
>><br>
>><br>
>> Regards,<br>
>><br>
>> Gilles<br>
>> _________________________________________________<br>
>> pve-user mailing list<br>
>> <a href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a> <mailto:<a href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a>><br>
>> <mailto:<a href="mailto:pve-user@pve.proxmox.">pve-user@pve.proxmox.</a>__com<br>
>> <mailto:<a href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a>>><br>
>> <a href="http://pve.proxmox.com/cgi-__bin/mailman/listinfo/pve-user" target="_blank">http://pve.proxmox.com/cgi-__bin/mailman/listinfo/pve-user</a><br>
>> <<a href="http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user" target="_blank">http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user</a>><br>
>><br>
>><br>
>><br>
>><br>
>> --<br>
>> Zuzendari Teknikoa / Director Técnico<br>
>> Binovo IT Human Project, S.L.<br>
>> Telf. 943575997<br>
>> 943493611<br>
>> Astigarraga bidea 2, planta 6 dcha., ofi. 3-2; 20180<br>
>> Oiartzun (Gipuzkoa)<br>
>> <a href="http://www.binovo.es" target="_blank">www.binovo.es</a> <<a href="http://www.binovo.es" target="_blank">http://www.binovo.es</a>> <<a href="http://www.binovo.es" target="_blank">http://www.binovo.es</a>><br>
>><br>
>><br>
>> _________________________________________________<br>
>> pve-user mailing list<br>
>> <a href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a> <mailto:<a href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a>><br>
>> <mailto:<a href="mailto:pve-user@pve.proxmox.">pve-user@pve.proxmox.</a>__com<br>
>> <mailto:<a href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a>>><br>
>><br>
>> <a href="http://pve.proxmox.com/cgi-__bin/mailman/listinfo/pve-user" target="_blank">http://pve.proxmox.com/cgi-__bin/mailman/listinfo/pve-user</a><br>
>> <<a href="http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user" target="_blank">http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user</a>><br>
>><br>
>><br>
>><br>
>><br>
>> --<br>
>> Gilberto Ferreira<br>
>><br>
>><br>
>> _________________________________________________<br>
>> pve-user mailing list<br>
>> <a href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a> <mailto:<a href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a>><br>
>> <a href="http://pve.proxmox.com/cgi-__bin/mailman/listinfo/pve-user" target="_blank">http://pve.proxmox.com/cgi-__bin/mailman/listinfo/pve-user</a><br>
>> <<a href="http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user" target="_blank">http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user</a>><br>
>><br>
>><br>
>> _________________________________________________<br>
>> pve-user mailing list<br>
>> <a href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a> <mailto:<a href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a>><br>
>> <a href="http://pve.proxmox.com/cgi-__bin/mailman/listinfo/pve-user" target="_blank">http://pve.proxmox.com/cgi-__bin/mailman/listinfo/pve-user</a><br>
>> <<a href="http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user" target="_blank">http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user</a>><br>
>><br>
>><br>
>><br>
>><br>
>> --<br>
>> Gilberto Ferreira<br>
><br>
> _______________________________________________<br>
> pve-user mailing list<br>
> <a href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a><br>
> <a href="http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user" target="_blank">http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user</a><br>
><br>
<br>
_______________________________________________<br>
pve-user mailing list<br>
<a href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a><br>
<a href="http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user" target="_blank">http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user</a><br>
_______________________________________________<br>
pve-user mailing list<br>
<a href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a><br>
<a href="http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user" target="_blank">http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Gilberto Ferreira<br>
</div>