<div dir="ltr">Sure!... So, everytime that I need resize the disk space I move the disk to raw format back.. Nice idea!</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-07-15 13:15 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="">>>On the other hand, I lost the ability to take snapshots... =(<br>
<br>
</div>you can use "move disk" to convert it to qcow2 if you want. (in live)<br>
<br>
<br>
<br>
----- Mail original -----<br>
<br>
De: "Gilberto Nunes" <<a href="mailto:gilberto.nunes32@gmail.com">gilberto.nunes32@gmail.com</a>><br>
<div class="">À: "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 17:06:29<br>
<div class="">Objet: Re: [PVE-User] Hot resize of Windows virtio disks ?<br>
<br>
<br>
</div><div class="">On the other hand, I lost the ability to take snapshots... =(<br>
<br>
<br>
<br>
2014-07-15 11:59 GMT-03:00 Gilberto Nunes < <a href="mailto:gilberto.nunes32@gmail.com">gilberto.nunes32@gmail.com</a> > :<br>
<br>
<br>
<br>
Gilou...<br>
<br>
<br>
Here I have installed a Windows 2012 with raw disk and with virtio...<br>
I am able to resize C: disk of Windows 2012...<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
2014-07-15 8:11 GMT-03:00 Gilberto Nunes < <a href="mailto:gilberto.nunes32@gmail.com">gilberto.nunes32@gmail.com</a> > :<br>
<br>
<br>
<br>
</div><blockquote><br>
<div class=""><br>
<br>
<br>
Hi<br>
Did you tried to change the SCSI Type to VIRTIO??<br>
I did it before and work fine... It's a VM running Windows 2021...<br>
<br>
<br>
<br>
2014-07-15 6:01 GMT-03:00 Gilou < <a href="mailto:contact%2Bdev@gilouweb.com">contact+dev@gilouweb.com</a> > :<br>
<br>
<br>
<br>
</div><blockquote><br>
<div class="">Le 15/07/2014 10:33, Alexandre DERUMIER a écrit :<br>
<br>
<br>
</div><blockquote><br>
Hi,<br>
<br>
<br>
<blockquote><br>
<br>
<blockquote><br>
<div class="">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>
<br>
</div></blockquote><br>
<div class=""><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>
</div></blockquote><br>
<div class=""><br>
<br>
Hi,<br>
<br>
If so, I indeed would like more information on that bug. However, I can successfully resize C:\ disks on Windows 2008 R2 & Windows 2012, Windows 2012 R2 using the latest virtio drivers, so I guess it was fixed, or I just didn't hit it...<br>


<br>
Cheers<br>
<br>
Gilles<br>
<br>
<br>
<br>
</div><blockquote><br>
<div class=""><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>
<br>
</div><blockquote><br>
<div class="">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>
</div></blockquote><br>
<div class="">,<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>
</div><blockquote><br>
<div><div class="h5"><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: contact+dev@gilouweb. com >>:<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>
</div></div>PVE::QemuServer::check___ running($vmid) &&<br>
<div><div class="h5">$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: pve-user@pve.proxmox. com ><br>
<mailto: pve-user@pve.proxmox. _ _com<br>
<mailto: pve-user@pve.proxmox. com >><br>
<a href="http://pve.proxmox.com/cgi-__" target="_blank">http://pve.proxmox.com/cgi-__</a> bin/mailman/listinfo/pve-user<br>
< <a href="http://pve.proxmox.com/cgi-" target="_blank">http://pve.proxmox.com/cgi-</a> bin/mailman/listinfo/pve-user ><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: pve-user@pve.proxmox. com ><br>
<mailto: pve-user@pve.proxmox. _ _com<br>
<mailto: pve-user@pve.proxmox. com >><br>
<br>
<a href="http://pve.proxmox.com/cgi-__" target="_blank">http://pve.proxmox.com/cgi-__</a> bin/mailman/listinfo/pve-user<br>
< <a href="http://pve.proxmox.com/cgi-" target="_blank">http://pve.proxmox.com/cgi-</a> bin/mailman/listinfo/pve-user ><br>
<br>
<br>
<br>
<br>
--<br>
</div></div>Gilberto Ferreira<br>
<br>
<br>
______________________________ ___________________<br>
<div class="">pve-user mailing list<br>
<a href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a> <mailto: pve-user@pve.proxmox. com ><br>
</div><a href="http://pve.proxmox.com/cgi-__" target="_blank">http://pve.proxmox.com/cgi-__</a> bin/mailman/listinfo/pve-user<br>
< <a href="http://pve.proxmox.com/cgi-" target="_blank">http://pve.proxmox.com/cgi-</a> bin/mailman/listinfo/pve-user ><br>
<br>
<br>
______________________________ ___________________<br>
<div class="">pve-user mailing list<br>
<a href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a> <mailto: pve-user@pve.proxmox. com ><br>
</div><a href="http://pve.proxmox.com/cgi-__" target="_blank">http://pve.proxmox.com/cgi-__</a> bin/mailman/listinfo/pve-user<br>
< <a href="http://pve.proxmox.com/cgi-" target="_blank">http://pve.proxmox.com/cgi-</a> bin/mailman/listinfo/pve-user ><br>
<br>
<br>
<br>
<br>
--<br>
Gilberto Ferreira<br>
<br>
</blockquote><br>
<br>
______________________________ _________________<br>
<div class="">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-" target="_blank">http://pve.proxmox.com/cgi-</a> bin/mailman/listinfo/pve-user<br>
<br>
<br>
</div></blockquote><br>
<br>
______________________________ _________________<br>
<div class="">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-" target="_blank">http://pve.proxmox.com/cgi-</a> bin/mailman/listinfo/pve-user<br>
<br>
</div></blockquote><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
<br>
--<br>
Gilberto Ferreira<br>
<br>
</blockquote><br>
<br>
<br>
<br>
<br>
--<br>
Gilberto Ferreira<br>
<br>
</blockquote><br>
</font></span><div class="HOEnZb"><div class="h5"><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>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Gilberto Ferreira<br>
</div>