|
|
|
|
|
|
|
|
|
|
xen-users
RE: [Xen-users] Problem getting lvm to work
Have you changed the /etc/fstab on the DomU to mount the / at
/dev/xvda1?
-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Robin
Ericsson
Sent: Sunday, June 10, 2007 9:38 AM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Problem getting lvm to work
Hi,
I have problems getting lvm to work on my domU. The dom0 is a CentOS 5
installed on lvm. I've added two extra lv, one for root and one for
swap.
[root@surr log]# lvscan
ACTIVE '/dev/VolGroup00/dom0vol' [3.91 GB] inherit
ACTIVE '/dev/VolGroup00/dom0swap' [1.94 GB] inherit
ACTIVE '/dev/VolGroup00/masterroot' [8.00 GB] inherit
ACTIVE '/dev/VolGroup00/masterswap' [512.00 MB] inherit
Then I installed a domU CentOS on a diskimage, exported the masterroot
lv to the domU, copied the domU / into the masterroot lv.
I then try to boot a new domU using the but it just stops after
mounting the root filesystem.
My config looks like this:
root@surr log]# cat /etc/xen/master
kernel = "/boot/vmlinuz-2.6.18-8.1.4.el5xen"
ramdisk = "/boot/initrd-2.6.18-8.1.4.el5xen.img"
name = "master"
memory = "128"
disk = [ 'phy:VolGroup00/masterroot,xvda1,w',
'phy:VolGroup00/masterswap,xvda2,w' ]
root = "/dev/xvda1 ro"
vif = [ 'bridge=xenbr1, vifname=vif_master', ]
vcpus=1
on_reboot = 'destroy'
on_crash = 'destroy'
The last messages from the bootup is:
Loading dm-mod.ko module
device-mapper: ioctl: 4.11.0-ioctl (2006-09-14) initialised:
dm-devel@xxxxxxxxxx
Loading dm-mirror.ko module
Loading dm-zero.ko module
Loading dm-snapshot.ko module
Making device-mapper control node
device-mapper: table: 253:0: mirror: Device lookup failure
device-mapper: ioctl: error adding target to table
device-mapper: reload ioctl failed: No such device or address
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.
and then it just stops.
I should probably add that I'm installed dom0 a software raid which is
mapped to 253:0. The VolGroup00 is mapped to start at 253:4 and
masterroot is 253:5 and swap 253:6.
--
regards,
Robin
_______________________________________________
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
|
|
|
|
|