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/
Home Products Support Community News


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

To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] reseize image that was created with virt-install
From: "Todd Deshane" <deshantm@xxxxxxxxx>
Date: Thu, 8 May 2008 22:39:17 -0400
Cc: Heiko <rupertt@xxxxxxxxx>
Delivery-date: Thu, 08 May 2008 19:39:46 -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=Ipp6/I0LmKibziVXHV6ReomSQIGLZJPYMHo4B/4MqDE=; b=GXcIavuHXPeWx5QtlKvxphQarDjgP72X45AtyOmjbF8Ss+KvwGJ4PJ/Gji+yAaUKeqOFtaOezgsB+Zf3wduJkFC2lN+2n9a1j3/eV9KC41z9/ipq2UV9myURZ6oS9Zttja6nlJM7WCmjILgX0enjjtPwXm/ligUQUo8DGUdIuLQ=
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=tLeKp9/ic1UKQnP2zYBQNSmtRYxvJgs+aQf8jFRKJMXs+YxKWXt1AozQG+t52cpxPVYlqxD1EQWB8SsuRqPLKrlGCZOMl3eeshrvVq03czO9Iolu5mq1DavhEt+sw16JjoGzgwz8cqCrpPmvNls75nwnf850/G4Yqc4iP4j/hUw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <537dcd6b0805080120o4f123841x72eaa3745219461a@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> <1e16a9ed0805070834q7ce2d8e1vf85cd5d0f4119d2e@xxxxxxxxxxxxxx> <537dcd6b0805080003o2854c3cfkfc31b72417cad558@xxxxxxxxxxxxxx> <537dcd6b0805080120o4f123841x72eaa3745219461a@xxxxxxxxxxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Rupert,

It is much better to keep the conversation on the xen-users, that
way there are more people that can help out and benefit.

 > Hello,
 > great links. Now I can mount my images ;).
 > But I still cant resize them:
 > Disk /dev/loop7: 16.2GB
 > Sector size (logical/physical): 512B/512B
 > Partition Table: msdos
 > Number  Start   End     Size    Type     File system  Flags
 >  1      32.3kB  10.7GB  10.7GB  primary  ext3         boot
 > (parted) resize
 > Partition number? 1
 > Start?  [32.3kB]? 10.7GB
 > End?  [10.7GB]? 16.2GB
 > (parted) print
 > Model: Unknown (unknown)
 > Disk /dev/loop7: 16.2GB
 > Sector size (logical/physical): 512B/512B
 > Partition Table: msdos
 > Number  Start   End     Size    Type     File system  Flags
 >  1      32.3kB  10.7GB  10.7GB  primary  ext3         boot
 > this somehow doenst work, but gives me no errors.
 > When i try parted on the mapper device it doesnt see the extra space:
 > Disk /dev/mapper/loop7p1: 10.7GB
 > i could copy all the files to a new image, but I would prefer resizing
 > the original one.
There is a tricky dd command that can handle this one

Look here for advice:

 > i just tried to copy the filesystem to a new image, this gave me a
kernel panic.
 > Now I cant even do a xm list,

 > xm list
 > Error: Boot loader didn't return any data!
 > Usage: xm list [options] [Domain, ...]

 > List information about all/some domains.
 > -l, --long                     Output all VM details in SXP
 > --label                        Include security labels

 > how can I fix this? There are still running 3 other VM on the machine
 > that I need to work with,
 > I can reach them with ssh, but my monitoring complains about that (i
 > use the xm command to check the VM)

I am not sure why xm list is giving that error. Are you running it
from the dom0?

What did you copy over that made xm list not work?


Xen-users mailing list

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