WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: Heiko <rupertt@xxxxxxxxx>
Subject: Re: [Xen-users] reseize image that was created with virt-install
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Gnmus2xVmrbpVatBsWoLsR2fnwe7IgG1zDbVI4fD71Y=; b=ZO1gm6BAzKWSbOvkDp+fNWvy3KKuVh60VGtmb9zVGfJkJanGO8KRQovQCzEwTf080DRqImsot9bm7Y9wgOqF+TPeV72ahxjIncTF0ci89OmyBkNutjRnGznZkXTDp/r4a3Py0Ox/EhpOI972suDyTcU3MN1XYIezl2DJPSak8r8=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <537dcd6b0805070825v3d349af7w5334bd8a349c9185@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <537dcd6b0805070732q1710764epd9c113574a58e441@xxxxxxxxxxxxxx> <1e16a9ed0805070757o608ecff3pfbd875dc207d71d9@xxxxxxxxxxxxxx> <537dcd6b0805070825v3d349af7w5334bd8a349c9185@xxxxxxxxxxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>