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

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

  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Hoping White <baihaoping@xxxxxxxxx>
  • Date: Tue, 26 Apr 2011 11:20:56 +0800
  • Delivery-date: Mon, 25 Apr 2011 20:22:16 -0700
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

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:

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



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