On Wed, May 7, 2008 at 8:25 AM, Heiko <rupertt@xxxxxxxxx> wrote:
> On Wed, May 7, 2008 at 4:57 PM, Todd Deshane <deshantm@xxxxxxxxx> wrote:
> > Hi Rupert,
> >
> > On Wed, May 7, 2008 at 7:32 AM, Heiko <rupertt@xxxxxxxxx> wrote:
> >> Hello,
> >> i have created some VM with virt-install, now I have the situation
> >> that one VM needs
> >> more Harddisk space. How can i resize these images.
> >> I created 2 partition on this images and insstalled grub, so when I
> >> try to add them to a loopback device and mount them I get an error
> >> about the fs not found.
> >>
> i am running centos5.1, i created a 5GB image with dd and appended it
> to the original with cat more >> old_image.img
> when i now do a parted /dev/loop7 i can see the extra 5GB, when i try
> a resize it tells me "Error: File system has an incompatible feature
> enabled."
> THe problem is that I cant mount the original image, because it
> contains a partition table.
>
use losetup and kpartx to make the partition mountable.
here is an older, but useful reference:
http://fedoraproject.org/wiki/FedoraXenQuickstartFC6#head-9c5408e750e8184aece3efe822be0ef6dd1871cd
Also see:
http://runningxen.com/chapters/chapter8/ that chapter has a lot of
good LVM and disk image references.
Cheers,
Todd
> .r
>
>
>
>
> >> please help me out.
> >>
> >
> > There are a lot of good resources here:
> > http://xen.markmail.org/search/?q=resize+image&x=0&y=0
> >
> > Give some more details on what commands you run, where you get stuck etc.
> > and we can more easily help you.
> >
> > Cheers,
> > Todd
> >
> >
> >> thx
> >>
> >> Rupert
> >>
> >> _______________________________________________
> >> Xen-users mailing list
> >> Xen-users@xxxxxxxxxxxxxxxxxxx
> >> http://lists.xensource.com/xen-users
> >>
> >
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-users
> >
>
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|