<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Verdana; font-size: 10pt; color: #000000'>oh, thanks about that.<div><br></div><div>I have done test in the past, and I had always problem.</div><div><br></div><div>Do you know in which kernel version this patch is applied ?<br><br><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>De: </b>"Stefan Priebe" <s.priebe@profihost.ag><br><b>À: </b>"Alexandre DERUMIER" <aderumier@odiso.com><br><b>Cc: </b>pve-devel@pve.proxmox.com<br><b>Envoyé: </b>Dimanche 29 Juillet 2012 12:09:56<br><b>Objet: </b>Re: [pve-devel] online resize of virtio-blk?<br><br>this works fine, wenn the disk is not mounted. if it is mounted you need <br>this kernel patch in guest system:<br><br>http://markmail.org/thread/brnvz2kzjyqg4kay#query:+page:1+mid:brnvz2kzjyqg4kay+state:results<br><br>Otherwise fdisk and blockdev still thinks the disk is smaller.<br><br>Stefan<br>Am 29.07.2012 11:57, schrieb Alexandre DERUMIER:<br>> oh great to know :)<br>><br>> what happen if block_resize drive-virtio0 XXG is different that real<br>> lvm disk size ?<br>><br>><br>> ------------------------------------------------------------------------<br>> *De: *"Stefan Priebe" <s.priebe@profihost.ag><br>> *À: *"Alexandre DERUMIER" <aderumier@odiso.com><br>> *Cc: *pve-devel@pve.proxmox.com<br>> *Envoyé: *Dimanche 29 Juillet 2012 11:39:56<br>> *Objet: *Re: [pve-devel] online resize of virtio-blk?<br>><br>> Hello,<br>><br>> it works perfectly this way:<br>><br>> lvextend -L ${newsize}G /dev/pve/vm-100-disk-1<br>><br>> ~# qm monitor 100<br>> Entering Qemu Monitor for VM 100 - type 'help' for help<br>> qm> block_resize drive-virtio0 30G<br>> qm> quit<br>><br>> in VM:<br>> dmesg shows:<br>> [53925.713083] virtio_blk virtio0: new size: 62914560 512-byte logical<br>> blocks (32.2 GB/30.0 GiB)<br>><br>> Stefan<br>> Am 29.07.2012 08:31, schrieb Alexandre DERUMIER:<br>> > i'm not sure it's possible with virtio-blk.<br>> ><br>> > virtio-scsi seem to support it in qemu git.<br>> ><br>> > I'll make some tests today with .raw files to see what is possible.<br>> ><br>> ><br>> ><br>> > BTW, I would like to implement resize of volume in proxmox for the<br>> future, could you describe how to resize an lvm device ?<br>> ><br>> ><br>> > ----- Mail original -----<br>> ><br>> > De: "Stefan Priebe" <s.priebe@profihost.ag><br>> > À: pve-devel@pve.proxmox.com<br>> > Envoyé: Samedi 28 Juillet 2012 21:58:42<br>> > Objet: [pve-devel] online resize of virtio-blk?<br>> ><br>> > Hello list,<br>> ><br>> > is online resizing of virtio blk devices supported? It seems Redhat<br>> > itself supports it:<br>> > https://bugzilla.redhat.com/show_bug.cgi?id=648594<br>> ><br>> > I've resized the LVM block device outside of the VM but inside the VM<br>> > i've no idea how to get the new size.<br>> ><br>> > Stefan<br>> > _______________________________________________<br>> > pve-devel mailing list<br>> > pve-devel@pve.proxmox.com<br>> > http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel<br>> ><br>> ><br>> ><br>><br>><br>><br>> --<br>><br>> <br>><br>> *Alexandre **D**e**rumier*<br>><br>> *Ingénieur Systèmes et Réseaux*<br>><br>> *Fixe : *03 20 68 88 85<br>><br>> *Fax : *03 20 68 90 88<br>><br>> 45 Bvd du Général Leclerc 59100 Roubaix<br>> 12 rue Marivaux 75002 Paris<br>><br>><br>><br></div><br><br><br>-- <br><div><span name="x"></span><br class="Apple-interchange-newline"><table cellspacing="3" cellpadding="0" border="0" style="background-color: rgb(255, 255, 255); font-family: Calibri; height: 150px; "><tbody><tr><td class="style2"><p><span style="font-size: 12pt; "><img width="248" height="150" src="http://www.odiso.com/library/img/signature/logo_blanc.png" src="http://www.odiso.com/library/img/signature/logo_blanc.png"></span></p></td><td width="100%" class="style3" style="padding-left: 10px; "><table cellspacing="5" cellpadding="5" border="0" class="MsoNormalTable"><tbody><tr><td><p><b><span style="font-size: 12.5pt; "><font color="#198ea3">Alexandre </font></span></b><b><span style="font-size: 12.5pt; color: rgb(66, 66, 66); ">D</span></b><b style="font-size: 10pt; "><span style="font-size: 12.5pt; color: rgb(66, 66, 66); ">e</span></b><b style="font-size: 10pt; "><span style="font-size: 12.5pt; color: rgb(66, 66, 66); ">rumier</span></b><span style="font-size: 10pt; "> </span></p><p><b><span style="color: rgb(66, 66, 66); "><font size="2">Ingénieur Systèmes et Réseaux</font></span></b></p></td></tr><tr><td><p><font size="2"><b><span style="color: rgb(66, 66, 66); ">Fixe </span><span style="color: rgb(66, 66, 66); ">: </span></b><span style="color: rgb(99, 100, 102); ">03 20 68 88 85</span> <br> <br><b><span style="color: rgb(66, 66, 66); ">Fax : </span></b><span style="color: rgb(99, 100, 102); ">03 20 68 90 88</span></font></p></td></tr><tr><td class="style1"><p><font size="2"><span style="color: gray; ">45 Bvd du Général Leclerc 59100 Roubaix </span><br><span style="color: gray; ">12 rue Marivaux 75002 Paris</span></font><span style="font-size: 12pt; "></span></p></td></tr></tbody></table></td></tr></tbody></table><span style="font-family: Arial; background-color: rgb(255, 255, 255); "></span><br style="font-family: Arial; background-color: rgb(255, 255, 255); "><span name="x"></span><br></div></div></div></body></html>