[pve-devel] Resizing of C disk crahes win2008r2

Alexandre DERUMIER aderumier at odiso.com
Fri Feb 22 06:38:32 CET 2013


I think we can add a protection to avoid resize of root disk for windows os with virtio for now,

seem like a bug in implementation of virtio-blk windows driver

Response from Vadim:



> Hi Vadim 
> 
> You cannot do it on a boot disk. On-line resizing works for non-system disks only. 
> 
> So, Why does it work with virtio-scsi ? 
> 
In Windows? 
> Is it a limitation of virtio-blk + windows ? 
> 
> 
I need to initiate the bus reset sequence in order 
to make on-line resizing working. From the system point of view 
it looks like we eject disk, change some fields in disk description and 
then re-inject the disk back. System just cannot survive such 
sequence on a system disk. 
> It's also working fine on linux root disk 
> 
> 

It probably can be done in Windows also. But we will need 
some sort of file system filter to make it working. 
----- Mail original ----- 

De: "Alexandre DERUMIER" <aderumier at odiso.com> 
À: "Martin Maurer" <martin at proxmox.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Mercredi 20 Février 2013 16:11:33 
Objet: Re: [pve-devel] Resizing of C disk crahes win2008r2 

It's working fine with virtio-scsi, so it must be a bug in virtio-blk driver. 

I'll make a bugreport 



----- Mail original ----- 

De: "Alexandre DERUMIER" <aderumier at odiso.com> 
À: "Martin Maurer" <martin at proxmox.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Mardi 19 Février 2013 17:06:53 
Objet: Re: [pve-devel] Resizing of C disk crahes win2008r2 

I can reproduce it with 0.1-49 drivers and 0.1-52 driver, with boot disk only. (tested with local raw) 

Note I have had time to see the size update in disk management console. 

I really don't know if it's a windows bug or virtio driver bug. 

I'll try with virtio-scsi to see if it's hang too. 


----- Mail original ----- 

De: "Alexandre DERUMIER" <aderumier at odiso.com> 
À: "Martin Maurer" <martin at proxmox.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Mardi 19 Février 2013 15:18:23 
Objet: Re: [pve-devel] Resizing of C disk crahes win2008r2 

Ok. 

Did you have tried with previous 0.1-49 drivers ? I see many bug reports on virtio disk on proxmox forum with 0.1-52 driver. 


I'll test both this afternoon. 

----- Mail original ----- 

De: "Martin Maurer" <martin at proxmox.com> 
À: pve-devel at pve.proxmox.com 
Envoyé: Mardi 19 Février 2013 15:14:18 
Objet: Re: [pve-devel] Resizing of C disk crahes win2008r2 

> -----Original Message----- 
> From: Alexandre DERUMIER [mailto:aderumier at odiso.com] 
> Sent: Dienstag, 19. Februar 2013 14:26 
> To: Martin Maurer 
> Cc: pve-devel at pve.proxmox.com 
> Subject: Re: [pve-devel] Resizing of C disk crahes win2008r2 
> 
> >>Alexandre, can you test this? 
> Sure. 
> 
> is it a virtio disk ? driver version ? 

Yes, virtio. Driver are from the fedora ISO (virtio-win-0.1-52.iso) 

root at proxmox-7-106:~# qm config 108 

bootdisk: virtio0 
cores: 4 
cpu: kvm64 
ide0: iso-templates:iso/virtio-win-0.1-52.iso,media=cdrom,size=57126K 
memory: 1024 
name: win2008r2-2 
net0: virtio=E6:4B:B0:CB:C9:D5,bridge=vmbr0 
ostype: win7 
sockets: 1 
unused2: local:108/vm-108-disk-2.qcow2 
virtio0: local:108/vm-108-disk-1.qcow2,size=37G 
virtio1: local:108/vm-108-disk-3.qcow2,size=32G 
virtio2: local:108/vm-108-disk-4.qcow2,size=32G 

Martin 


_______________________________________________ 
pve-devel mailing list 
pve-devel at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 
_______________________________________________ 
pve-devel mailing list 
pve-devel at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 
_______________________________________________ 
pve-devel mailing list 
pve-devel at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 
_______________________________________________ 
pve-devel mailing list 
pve-devel at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 



More information about the pve-devel mailing list