| 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 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 |