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] LVM and VMM

Quoting Thomas King <tking@xxxxxxxxxx>:

> Hi,
>
> I am trying to create a DomU under SLES10.1 that uses LVM.
>
> I created 3 lv's
>         /dev/vg1//lv-024swap
>         /dev/vg1//lv-024boot
>         /dev/vg1//lv-024root
>
> In Virtual Machine Manager (VMM) I try to assign these to a new machine.
> The best I can get is using each as a disk, not a partition. When I
> manually edit the config file and put the lines as
>
> disk=[ 'phy:vg1/lv-024swap,hda1,w', 'phy:vg1/lv-024boot,hdb1,w',
> 'phy:vg1/lv-024root,hdc1,w', 'phy:/dev/sr0,xvdd,r', ]
> What is supposed to be in my bootloader and bootargs lines?
>
> Any help, or pointing me to a document to read would be appreciated.
>
> Thomas King
>
I have a similar setup on openSUSE 10.1, 10.2 and use the following:

disk = [ 'phy:vg/root,hda1,w', 'phy:vg/data,hda3,w', 'phy:vg/swap,hda2,w' ]

extra = '3 root=/dev/hda1 vga=normal'
bootloader = '/usr/lib/xen/boot/domUloader.py'
bootentry = 'hda1:/boot/vmlinuz-xen,/boot/initrd-xen'

So I guess you would need something like root=/dev/hdc1 in "extra" and
hdb1:/boot/vmlinuz-xen,/boot/initrd-xen in your "bootentry" (of course replace
vmlinuz-xen and initrd-xen with whatever kernel and initrd you are actually
using).

HTH
--
Mike Peters
Website: http://www.ice2o.com


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

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