<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Verdana; font-size: 10pt; color: #000000'><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 10pt; ">just found this on ceph tracker;</div><a href="http://tracker.newdream.net/issues/2232" style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 10pt; ">http://tracker.newdream.net/issues/2232</a><br><br><span style="color: rgb(55, 66, 74); font-family: Helvetica, Arial, sans-serif; font-size: 12px; line-height: 14px; background-color: rgb(255, 255, 255); ">I tested this on Friday, and qemu rereads the size (at least when using virtio) when the guest requests it (i.e. echo 1 | sudo tee /sys/bus/pci/rescan).</span><div><font color="#37424a" face="Helvetica, Arial, sans-serif"><span style="font-size: 12px; line-height: 14px;"><br></span></font></div><div><font color="#37424a" face="Helvetica, Arial, sans-serif"><span style="font-size: 12px; line-height: 14px;"><br></span></font></div><div><font color="#37424a" face="Helvetica, Arial, sans-serif"><span style="font-size: 12px; line-height: 14px;">maybe could you try this ?</span></font></div><div><font color="#37424a" face="Helvetica, Arial, sans-serif"><span style="font-size: 12px; line-height: 14px;"><br></span></font><hr id="zwchr" style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 10pt; "><div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif; font-size: 12pt; font-weight: normal; font-style: normal; text-decoration: none; "><b>De: </b>"Alexandre DERUMIER" <aderumier@odiso.com><br><b>À: </b>"Stefan Priebe" <s.priebe@profihost.ag><br><b>Cc: </b>pve-devel@pve.proxmox.com<br><b>Envoyé: </b>Dimanche 29 Juillet 2012 08:57:18<br><b>Objet: </b>Re: [pve-devel] online resize of virtio-blk?<br><br>I've made some, it seem only possible with files (.raw, .qcow2).<br><br>using the monitor command "block_resize".<br><br>then it's resize the file online, and notify the virtio-blk driver that size is updated.<br><br><br>I don't know if we can launch some kind of manual rescan with virtio-blk. (with scsi and virtio-scsi, we can use sysfs to rescan the scsi layer)<br><br>about the originals commit of block_resize:<br>http://comments.gmane.org/gmane.comp.emulators.qemu/91126<br><br>"[PATCH 3/3] virtio-blk: tell the guest about size        changes<br><br>Raise a config change interrupt when the size changed.  This allows<br>virtio-blk guest drivers to read-read the information from the<br>config space once it got the config chaged interrupt."<br><br>so the question is how to generate a manual config change interrupt ?<br><br><br><br><br>----- Mail original ----- <br><br>De: "Alexandre DERUMIER" <aderumier@odiso.com> <br>À: "Stefan Priebe" <s.priebe@profihost.ag> <br>Cc: pve-devel@pve.proxmox.com <br>Envoyé: Dimanche 29 Juillet 2012 08:31:16 <br>Objet: Re: [pve-devel] online resize of virtio-blk? <br><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 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><br>Alexandre D e rumier <br><br>Ingénieur Systèmes et Réseaux <br><br><br>Fixe : 03 20 68 88 85 <br><br>Fax : 03 20 68 90 88 <br><br><br>45 Bvd du Général Leclerc 59100 Roubaix <br>12 rue Marivaux 75002 Paris <br><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><br>Alexandre D e rumier <br><br>Ingénieur Systèmes et Réseaux <br><br><br>Fixe : 03 20 68 88 85 <br><br>Fax : 03 20 68 90 88 <br><br><br>45 Bvd du Général Leclerc 59100 Roubaix <br>12 rue Marivaux 75002 Paris <br>_______________________________________________<br>pve-devel mailing list<br>pve-devel@pve.proxmox.com<br>http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel<br></div><br><br><br><font face="Verdana" size="2">-- </font><br><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 10pt; "><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>