[CentOS] Trying to get xen to boot off of an iso or a sysresc image so I can expand a filesystem to the extent of the LVM's free space.

Alexander Dalloz ad+lists at uni-x.org
Fri Oct 15 16:29:14 EDT 2010


Am 15.10.2010 21:56, schrieb Peter Serwe:
> I have a Xen LVM based VM with two partitions:
> 
> /dev/VolGroup00/vm01p1
> 
> /dev/VolGroup00/vm01p2
> 
> p2 is about 50GB, I gave it's LVM an extra 30 or so using lvextend.
> 
> How can I extend the partition to fill my free space and the filesystem?

http://tldp.org/HOWTO/LVM-HOWTO/extendlv.html

> I don't mind offline, if I can get Xen to boot off an alternative media.

You can do that online using resize2fs (see above)

> Peter

Alexander


More information about the CentOS mailing list