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

Re: [Xen-users] Unable to mount LVM - backed VBD

To: rajarshi das <dazio_r@xxxxxxxxx>
Subject: Re: [Xen-users] Unable to mount LVM - backed VBD
From: "Christopher G. Stach II" <cgs@xxxxxxxxx>
Date: Wed, 15 Nov 2006 01:58:28 -0600
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 14 Nov 2006 23:59:50 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20061115054720.36539.qmail@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <20061115054720.36539.qmail@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.7 (X11/20061029)
rajarshi das wrote:
> 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
> <mailto: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
> 

Your disk and root lines are bad, to start with.

-- 
Christopher G. Stach II

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

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