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] Unable to mount LVM - backed VBD

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Unable to mount LVM - backed VBD
From: rajarshi das <dazio_r@xxxxxxxxx>
Date: Tue, 14 Nov 2006 21:47:20 -0800 (PST)
Delivery-date: Tue, 14 Nov 2006 21:47:44 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=HMEoBssc+eirD1JSHfZmQHxDd+WutB6/UL/WfNzzuxm5f46NPDX0iCevROUl4BRFdZjJNOlUK+fIH0/qAFD8QbLkVPh7d0eEU0h4LkKsVla/cXLUT6gVs8bBEG68tT6K3fNtQn3+NiWK53xvQiL24Fj0fbe/nbwv9erDamV5jhg= ;
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
All,
 
I have a SLES10 system with the following volume groups:
 
1) /dev/volgrplinux :
                          logvolroot (lv)
                          logvolswap (lv)
 
2) /dev/volgrpguest :
                           logvol1 (lv)
 
I want to use the logvol1 as a lvm - backed vbd.
 
$ xm create -c xmexample.lvm-vbd
....
......
xvda: Loading dm-mod
unknown partition table
device-mapper: 4.5.0-ioctl (2005-10-04) initialised: dm-devel@xxxxxxxxxx
Loading dm-snapshot
Waiting for /dev/mapper/control to appear: ok
Loading jbd
Loading ext3
     Unable to find volume group "logvolroot"
 Waiting for device /dev/mapper/volgrplinux-logvolroot to appear: ........ not found -- exiting to /bin/sh
$
 
 
Following is the configuration file:
---------start of config file------------------------------
# Kernel image file and (optional) ramdisk (initrd).
kernel = "/boot/vmlinuz-xenpae"
ramdisk = "/boot/initrd-xenpae"

# Initial memory allocation (in megabytes) for the new domain.
memory = 64

# A name for your domain. All domains must have different names.
name = "ExampleDomain1"

vif = [ '' ]

disk = [ 'phy:volgrpguest/logvol1,volgrplinux/logvolroot,w' ]

#dhcp="dhcp"
# Set netmask.
#netmask=
# Set default gateway.
#gateway=
# Set the hostname.
#hostname= "vm%d" % vmid

# Set root device.
#root = "/dev/hda1 ro"
root = "/dev/mapper/volgrplinux-logvolroot ro"

# Sets runlevel 4.
extra = "4"
----------------end of config file------------------------
 
$ ls -l /dev/mapper
 
lrwxrwxrwx 1 root root 16 nov 14 18:11 control -> ../device-mapper
brw------- 1 root root 253,2 nov 15 9:59 volgrpguest-logvol1
brw------- 1 root root 253,0 nov 14 18:11 volgrplinux-logvolroot
brw------- 1 root root 253,1 nov 14 18:11 volgrplinux-logvolswap
 
 
 
 
Is there something in the configuration that prevents the logvolroot from being found?
 
Also, are there any additional modules that need to be modprobed (apart from dm-mod and dm-snapshot) when a domU starts up?
 
Please suggest how to fix this.
 
Thanks,
Rajarshi


Sponsored Link

Mortgage rates as low as 4.625% - $150,000 loan for $579 a month. Intro-*Terms
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>