Just a thought, but if you have your guest using LVM as well you could probably just use pvresize in the Xen guest after increasing the LV in the Xen host.
Kevin -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthias Saou Sent: Monday, August 13, 2007 4:26 AM To: [email protected] Subject: Re: [rhelv5-list] Xen hosts and LVM growing for guests Matthias Saou wrote : > I've been wondering if there was any solution to this : I'd like to be > able to grow LVs on a Xen host, and have the Xen guests using them > (phy) be able to grow the filesystem they have on them. > > Currently, I have to stop the guests and grow the filesystem from the > host, which isn't optimal. Then again, I've already tried to do it > without stopping the guests... you don't want to be doing that :-) > > So maybe there's a way for the guest to "notice" that the block device > it's using has grown, but I just haven't found it yet... I'm still looking for a possible solution here, _but_ : - All recent docs I've found suggest shutting down domU and resizing the filesystem from dom0 (what I'm already doing, but not optimal for busy databases or other non-failover services) - Some old docs [1] suggest that "xm vbd-refresh" might have been what I'm looking for, but that command seems to have been removed from Xen as it was unsupported [2]. - I seem to not be the only one looking for this functionality [3] for my Xen setups, which doesn't really surprise me :-) But in the end, it really looks like this isn't possible to do. Too bad, it would have been soooo much more flexible for on-the-fly disk space domU allocation. 1. http://people.redhat.com/pcaulfie/docs/xencluster.html 2. http://osdir.com/ml/emulators.xen.cvs/2005-10/msg00088.html 3. http://www.debian-administration.org/users/dkg/weblog/19#comment_5 Matthias -- Clean custom Red Hat Linux rpm packages : http://freshrpms.net/ Fedora release 7 (Moonshine) - Linux kernel 2.6.22.1-41.fc7 Load : 0.36 0.36 0.36 _______________________________________________ rhelv5-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv5-list _______________________________________________ rhelv5-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv5-list
