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

[Xen-users] guest os failed after resize file base image

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] guest os failed after resize file base image
From: Hoping White <baihaoping@xxxxxxxxx>
Date: Tue, 26 Apr 2011 11:20:56 +0800
Delivery-date: Mon, 25 Apr 2011 20:22:16 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=soRR8eQ/8+lYfjQlTvrfKl6g7iaETVjIIgKkOHhhv1Y=; b=FCT2asPQ3d+qc+2AE1wMVZofeDESWAowFs3YNsWMFnsxCkSqB7tmGdGeW1qsteCpzr 0lDmX6WBXXTrZ/2vylvQmb1oOpiGLVBFWmjfDbC1ylkvA+4slU6w5pzcmX/kPsLoXDIj 9qCY3sJuV7Tqas/DFeU1zJMbvBDISpNGtVpFc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=StKUVUZfdm23y0foBS9OIoOLO1bWV4SetJaT0nh+pNKrMgu8q/P6EYr070RV5Kn9v3 801YgjNZE2pt7lAR/5jOCDACgwLbyUFZu/LfFM8CsMu7rUoA9qCqOl1WkY2dTnEY6nyE 5jmfUM+sjYzv2k2DKaPwia87jJ7hh7k9Fa5G0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; zh-CN; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9
Hi, all

I have tried to resize my vm image which is file based using lvm because
my guest os is centos5.3.
After all was done, I tried "xm create" and failed with the following
message:

Scanning logical volumes
Reading all physical volumes. This may take a while...
Found volume group "VolGroup00" using metadata type lvm2
Activating logical volumes
device-mapper: table: device 202:2 too small for target
device-mapper: table: 253:0: linear: dm-linear: Device lookup failed
device-mapper: ioctl: error adding target to table
device-mapper: reload ioctl failed: Invalid argument
2 logical volume(s) in volume group "VolGroup00" now active
Creating root device.
Mounting root filesystem.
mount: could not find filesystem '/dev/root'
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!

My xen version as follows:
kernel-xen-2.6.18-238.5.1.el5
xen-3.0.3-120.el5_6.1
xen-libs-3.0.3-120.el5_6.1

I also tried to losetup my resized image on domain0, and mount on
domain0, all seems ok.

Could someone help me with this? Thanks.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

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