[Fedora-xen] enlarge file backed filesystem

Paul Wouters paul at xelerance.com
Tue Nov 7 18:47:39 UTC 2006


> > Isn't there a way to enlarge the filesystem of the guest by enlarging the
> > backing file/device?  If so, what exactly do you do to enlarge the backing
> > file/dev?

For ext3 I use (in this case adding 1GB):

dd if=/dev/zero bs=1M count=1024 >> file.image
e2fsck -f file.image
resize2fs file.image
e2fsck -f file.image

Paul




More information about the Fedora-xen mailing list