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] Problem getting lvm to work

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Problem getting lvm to work
From: "Robin Ericsson" <lobbin@xxxxxxxxx>
Date: Sun, 10 Jun 2007 09:37:35 +0200
Delivery-date: Sun, 10 Jun 2007 00:35:48 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=mD2yMs5DmBlyMV3puM9SDI9+KYOP/fS4Wz+nuyq7etD3iLBM0Pibzc3KxQ38whyewF5p6OF7qf3MVCwo+Qb6bcP4eaOzrVEbO2uI9Fy/V6eXHl1UsE7baKkd5Q0pCRHKlWCTQzFxc2doqO85Tz5WJBC82HWioC82Db3rtibHoys=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=GZbVzgcfY+/+XobFsnAH8lKJw0aV+aQ41gYyJqBerskisuzpK9zXtQt4qfjH/tCHw9ohrohMTPjQObVNksUPbslz9+0rRzVKdQGwy22Ww5z8r3OPPOO5v/0G7rmJvCxGIvNDqAIp4v/fTSEkE8TsAiIdY3qUv5GclpNPQhqaJIc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

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