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

[Xen-users] xen cannot find root filesystem


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Rahul Agarwal <ra996@xxxxxxx>
  • Date: Tue, 16 Sep 2008 12:53:18 -0400
  • Delivery-date: Tue, 16 Sep 2008 09:53:49 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hello,

I have a pre-built xen image from jailtime.org (centos.5-2.64.img). However, I cannot get it to boot. As per the instructions, my conf file is:

kernel = "/boot/vmlinuz-2.6.18-53.el5xen"
ramdisk = "/boot/initrd-2.6.18-53.el5xen.img"
memory = 256
name = "centos.5-2.64"
vif = [ '' ]
#dhcp= "dhcp"
disk = ['tap:aio:/xen/images/centos.5-2.64.img,xvda1,w']
root = "/dev/xvda1 ro"
extra = "fastboot"

However, the vm fails with the following (relevant) output

Loading dm-snapshot.ko module
Waiting for driver initialization.
Scanning and configuring dmraid supported devices
Scanning logical volumes
 Reading all physical volumes.  This may take a while...
 No volume groups found
Activating logical volumes
 Volume group "VolGroup00" not found
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

Following is the relevant section from /var/log/xen/xend.log:

[2008-09-16 07:25:19 xend 4079] DEBUG (DevController:112) DevController: writing {'domain': 'ce ntos.5-2.64', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/64/device/vif/0', 'mac': '00:16:3e:7a:ec:d6', 'online': '1', 'frontend-id': '64
'} to /local/domain/0/backend/vif/64/0.
[2008-09-16 07:25:19 xend 4079] DEBUG (blkif:24) exception looking up device number for xvda1:
[Errno 2] No such file or directory: '/dev/xvda1'
[2008-09-16 07:25:19 xend 4079] DEBUG (DevController:110) DevController: writing {'virtual-devi ce': '51713', 'device-type': 'disk', 'protocol': 'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/tap/64/51713'} to /local/domain/64/device/vbd/51713. [2008-09-16 07:25:19 xend 4079] DEBUG (DevController:112) DevController: writing {'domain': 'ce ntos.5-2.64', 'frontend': '/local/domain/64/device/vbd/51713', 'dev': 'xvda1', 'state': '1', 'p arams': 'aio:/xen/images/vlab_vm.img', 'mode': 'w', 'online': '1', 'frontend-id': '64', 'type':
'tap'} to /local/domain/0/backend/tap/64/51713.


Please help!
thanks,
rahul



_______________________________________________
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®.