Hi, With xen (lenny), I created my domU on LV. I create domU in xfs (/). And i can hot resize domU : On dom0, the ''lvresize-L +1 G mylv'' goes well (clvm) But in the domU (mylv) ''xfs_growfs /dev/xvda2'' has no effect: the domU has not yet taken aware of the expansion of its disk. I need to reboot the domU ... Is there a chance to make hot resizing the domU? Thank you. -- Guy _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Mar 09, 2010 at 04:26:34PM +0100, Guy Roussin wrote:> Hi, > > With xen (lenny), I created my domU on LV. I create > domU in xfs (/). > And i can hot resize domU : > On dom0, the ''lvresize-L +1 G mylv'' goes well (clvm) > But in the domU (mylv) ''xfs_growfs /dev/xvda2'' > has no effect: the domU has not yet taken > aware of the expansion of its disk. I need to reboot > the domU ... > > Is there a chance to make hot resizing the domU? >Xen currently doesn''t have support for online resizing domU disks [1]. You could add another new disk to the domU though, on the fly, and then if you use LVM also in the domU, you could pvcreate+vgextend there online.. -- Pasi [1] I''ve been working on adding support for it, but it''s not ready yet, and I don''t currently have much time for it. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thank you Pasi, Nice to see you are working on adding this support. PS: Sorry if i use "hot" instead of "online" (i need to improve my english) Guy>> >> With xen (lenny), I created my domU on LV. I create >> domU in xfs (/). >> And i can hot resize domU : >> On dom0, the ''lvresize-L +1 G mylv'' goes well (clvm) >> But in the domU (mylv) ''xfs_growfs /dev/xvda2'' >> has no effect: the domU has not yet taken >> aware of the expansion of its disk. I need to reboot >> the domU ... >> >> Is there a chance to make hot resizing the domU? >> >> > > Xen currently doesn''t have support for online resizing domU disks [1]. > > You could add another new disk to the domU though, on the fly, and then > if you use LVM also in the domU, you could pvcreate+vgextend there online.. > > -- Pasi > > [1] I''ve been working on adding support for it, but it''s not ready yet, > and I don''t currently have much time for it. >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello, Am 09.03.2010 um 16:26 Uhr schrieb Guy Roussin <guy.roussin@teledetection.fr>:> With xen (lenny), I created my domU on LV. I create > domU in xfs (/). > And i can hot resize domU : > On dom0, the ''lvresize-L +1 G mylv'' goes well (clvm) > But in the domU (mylv) ''xfs_growfs /dev/xvda2'' > has no effect: the domU has not yet taken > aware of the expansion of its disk. I need to reboot > the domU ... > Is there a chance to make hot resizing the domU?i use raid1 inside my xen guests and if i need to resize the domu fs i remove one disk, grow it, re-add it and rebuild the raid1. Same for the other disk. Then i resize the raid1 and then i can online resize the fs. I do this since 2006 and it works without problems, only bad thing is the complete rebuild of the raid1, but you don''t have to reboot your domu! -- greetings eMHa _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello, Am 09.03.2010 um 19:48 Uhr schrieb Pasi Kärkkäinen <pasik@iki.fi>:> On Tue, Mar 09, 2010 at 04:26:34PM +0100, Guy Roussin wrote:[..]> Xen currently doesn''t have support for online resizing domU disks [1].[..]> [1] I''ve been working on adding support for it, but it''s not ready yet, > and I don''t currently have much time for it.is there anything one can help? Newest linux kernel have the ability to recognize disk size changes. I hoped you only have to path through this ability? -- greetings eMHa _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Mar 17, 2010 at 08:52:19PM +0100, Markus Hochholdinger wrote:> Hello, > > Am 09.03.2010 um 19:48 Uhr schrieb Pasi Kärkkäinen <pasik@iki.fi>: > > On Tue, Mar 09, 2010 at 04:26:34PM +0100, Guy Roussin wrote: > [..] > > Xen currently doesn''t have support for online resizing domU disks [1]. > [..] > > [1] I''ve been working on adding support for it, but it''s not ready yet, > > and I don''t currently have much time for it. > > is there anything one can help? Newest linux kernel have the ability to > recognize disk size changes. I hoped you only have to path through this > ability? >Actually Novell sent a patch last week that allows online resize of domU disks. See: http://lists.xensource.com/archives/html/xen-devel/2010-03/msg00467.html Feel free to provide feedback to xen-devel about it! -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello, Am 18.03.2010 um 17:11 Uhr schrieb Pasi Kärkkäinen <pasik@iki.fi>:> On Wed, Mar 17, 2010 at 08:52:19PM +0100, Markus Hochholdinger wrote: > > Am 09.03.2010 um 19:48 Uhr schrieb Pasi Kärkkäinen <pasik@iki.fi>: > > > On Tue, Mar 09, 2010 at 04:26:34PM +0100, Guy Roussin wrote: > > [..] > > > Xen currently doesn''t have support for online resizing domU disks [1]. > > [..] > > > [1] I''ve been working on adding support for it, but it''s not ready yet, > > > and I don''t currently have much time for it. > > is there anything one can help? Newest linux kernel have the ability to > > recognize disk size changes. I hoped you only have to path through this > > ability? > Actually Novell sent a patch last week that allows online resize of domU > disks. See: > http://lists.xensource.com/archives/html/xen-devel/2010-03/msg00467.htmlgreat :-)> Feel free to provide feedback to xen-devel about it!For sure i will test this. Thanks! -- greetings eMHa _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello, Am 18.03.2010 um 17:11 Uhr schrieb Pasi Kärkkäinen <pasik@iki.fi>:> On Wed, Mar 17, 2010 at 08:52:19PM +0100, Markus Hochholdinger wrote: > > Am 09.03.2010 um 19:48 Uhr schrieb Pasi Kärkkäinen <pasik@iki.fi>:[..]> Actually Novell sent a patch last week that allows online resize of domU > disks. See: > http://lists.xensource.com/archives/html/xen-devel/2010-03/msg00467.html > Feel free to provide feedback to xen-devel about it!today i was trying to build a debian kernel with this patch, but before i finished, waldi on #debian-kernel told me the patch is already integrated there: http://hermes.jura.uni-tuebingen.de/~blank/debian/xen-test/ I tested this (-11) and it works for me :-) Thank you guys :-) -- greetings eMHa _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users