[CentOS] Changing size of a xen guest filesystem

Jussi Hirvi greenspot at greenspot.fi
Thu Feb 4 10:52:43 UTC 2010

On 3.2.2010 19:54, Pasi Kärkkäinen wrote:
> On Wed, Feb 03, 2010 at 12:26:13PM +0200, Jussi Hirvi wrote:
>> It should be easy, but I have not yet found a solution. Only some 
>> methods involving use of dd, but that sounds a little scary to me
>> on a production server.
>> I wish there would be a command "virt-resize", but no... Maybe 
>> "virt-clone", with the option --file=DISKFILE, could be bended to
>> do this?
> If you're using LVM volumes to store guest disks, then you can do 
> "lvextend" in the host.

Nope, I use disk images (sparse).

> And then do necessary steps in the guest, to resize the
> partitions/filesystems.

Ok, looks like this can not be done all in one step.

- Jussi

More information about the CentOS mailing list