<div dir="ltr"><div><div>Hi</div><div>Did you tried to change the SCSI Type to VIRTIO??</div><div>I did it before and work fine... It's a VM running Windows 2021...</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2014-07-15 6:01 GMT-03:00 Gilou <span dir="ltr"><<a href="mailto:contact+dev@gilouweb.com" target="_blank">contact+dev@gilouweb.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Le 15/07/2014 10:33, Alexandre DERUMIER a écrit :<div class=""><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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>
</blockquote></blockquote>
<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>
</blockquote>
<br>
<br></div>
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<div class="HOEnZb"><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<br>
<br>
----- Mail original -----<br>
<br>
De: "Gilou" <<a href="mailto:contact%2Bdev@gilouweb.com" target="_blank">contact+dev@gilouweb.com</a>><br>
Cc: <a href="mailto:pve-user@pve.proxmox.com" target="_blank">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>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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>
</blockquote>
,<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>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks<br>
<br>
<br>
2014-07-09 11:50 GMT-03:00 Gilou <<a href="mailto:contact%2Bdev@gilouweb.com" target="_blank">contact+dev@gilouweb.com</a><br>
<mailto:<a href="mailto:contact%2Bdev@gilouweb.com" target="_blank">contact+dev@gilouweb.<u></u>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" target="_blank">elacunza@binovo.es</a><br>
<mailto:<a href="mailto:elacunza@binovo.es" target="_blank">elacunza@binovo.es</a>><br>
<mailto:<a href="mailto:elacunza@binovo.es" target="_blank">elacunza@binovo.es</a> <mailto:<a href="mailto:elacunza@binovo.es" target="_blank">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___<u></u>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>
______________________________<u></u>___________________<br>
pve-user mailing list<br>
<a href="mailto:pve-user@pve.proxmox.com" target="_blank">pve-user@pve.proxmox.com</a> <mailto:<a href="mailto:pve-user@pve.proxmox.com" target="_blank">pve-user@pve.proxmox.<u></u>com</a>><br>
<mailto:<a href="mailto:pve-user@pve.proxmox." target="_blank">pve-user@pve.proxmox.</a>_<u></u>_com<br>
<mailto:<a href="mailto:pve-user@pve.proxmox.com" target="_blank">pve-user@pve.proxmox.<u></u>com</a>>><br>
<a href="http://pve.proxmox.com/cgi-__bin/mailman/listinfo/pve-user" target="_blank">http://pve.proxmox.com/cgi-__<u></u>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-<u></u>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>
______________________________<u></u>___________________<br>
pve-user mailing list<br>
<a href="mailto:pve-user@pve.proxmox.com" target="_blank">pve-user@pve.proxmox.com</a> <mailto:<a href="mailto:pve-user@pve.proxmox.com" target="_blank">pve-user@pve.proxmox.<u></u>com</a>><br>
<mailto:<a href="mailto:pve-user@pve.proxmox." target="_blank">pve-user@pve.proxmox.</a>_<u></u>_com<br>
<mailto:<a href="mailto:pve-user@pve.proxmox.com" target="_blank">pve-user@pve.proxmox.<u></u>com</a>>><br>
<br>
<a href="http://pve.proxmox.com/cgi-__bin/mailman/listinfo/pve-user" target="_blank">http://pve.proxmox.com/cgi-__<u></u>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-<u></u>bin/mailman/listinfo/pve-user</a>><br>
<br>
<br>
<br>
<br>
--<br>
Gilberto Ferreira<br>
<br>
<br>
______________________________<u></u>___________________<br>
pve-user mailing list<br>
<a href="mailto:pve-user@pve.proxmox.com" target="_blank">pve-user@pve.proxmox.com</a> <mailto:<a href="mailto:pve-user@pve.proxmox.com" target="_blank">pve-user@pve.proxmox.<u></u>com</a>><br>
<a href="http://pve.proxmox.com/cgi-__bin/mailman/listinfo/pve-user" target="_blank">http://pve.proxmox.com/cgi-__<u></u>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-<u></u>bin/mailman/listinfo/pve-user</a>><br>
<br>
<br>
______________________________<u></u>___________________<br>
pve-user mailing list<br>
<a href="mailto:pve-user@pve.proxmox.com" target="_blank">pve-user@pve.proxmox.com</a> <mailto:<a href="mailto:pve-user@pve.proxmox.com" target="_blank">pve-user@pve.proxmox.<u></u>com</a>><br>
<a href="http://pve.proxmox.com/cgi-__bin/mailman/listinfo/pve-user" target="_blank">http://pve.proxmox.com/cgi-__<u></u>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-<u></u>bin/mailman/listinfo/pve-user</a>><br>
<br>
<br>
<br>
<br>
--<br>
Gilberto Ferreira<br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
pve-user mailing list<br>
<a href="mailto:pve-user@pve.proxmox.com" target="_blank">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-<u></u>bin/mailman/listinfo/pve-user</a><br>
<br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
pve-user mailing list<br>
<a href="mailto:pve-user@pve.proxmox.com" target="_blank">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-<u></u>bin/mailman/listinfo/pve-user</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Gilberto Ferreira<br>
</div>