[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] reseize image that was created with virt-install


  • To: Heiko <rupertt@xxxxxxxxx>
  • From: "Todd Deshane" <deshantm@xxxxxxxxx>
  • Date: Wed, 7 May 2008 08:34:25 -0700
  • Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 07 May 2008 08:34:54 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Yn7fqIipF637Ia+8ME3Zy1aEZrdmIuIQjHfC7GThiwNCWrBDOXia0Lrn4savlmU7RWM0tfn0D2rCzhw0jNt83u+Zcjm9oCBsLMJ5hpKp9q98KFm0KTJRfcQ3w7tshMAETEZuBm+/8Qd+gopSkBLLcVWvXByshNg6yCMJUGAdLyo=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.