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] dom0's LVM partition in domU

To: Markus Gerber <markus@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] dom0's LVM partition in domU
From: Stephan Seitz <s.seitz@xxxxxxxxxxxx>
Date: Fri, 07 Dec 2007 11:48:41 +0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx, Emre Erenoglu <erenoglu@xxxxxxxxx>
Delivery-date: Fri, 07 Dec 2007 04:31:05 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <F8ABA114-4857-429F-9F2E-9454C9F9E4D5@xxxxxxxxxxxxx>
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>
Organization: netz-haut e.K.
References: <6A2EB997-1378-42A7-8D55-D0B1A986BE0E@xxxxxxxxxxxxx> <6F7D82CF-22B2-4A45-9359-42877488D24A@xxxxxxxxxxxxx> <fe9771a80712060208k3e72c5fy1bcbe0ae5bfee3bf@xxxxxxxxxxxxxx> <1BB0525F-0F51-4993-82A3-ECC1DE059BCC@xxxxxxxxxxxxx> <fe9771a80712060457m3116b538ybf22711d66abec8d@xxxxxxxxxxxxxx> <DFAAD8D1-663A-4242-8F2C-2DDB2BA98F2C@xxxxxxxxxxxxx> <fe9771a80712060520l4906f0efndb4e09f437d1b8e6@xxxxxxxxxxxxxx> <3BCCB0CA-CECD-4425-A675-BB29D3BB8EDB@xxxxxxxxxxxxx> <fe9771a80712060532n163c59edhd4c3af6b1e23cd3d@xxxxxxxxxxxxxx> <3C8A71D5-EA82-476F-932B-D3D06C84C03C@xxxxxxxxxxxxx> <fe9771a80712060540l111ae68ewc6a8c69df4617351@xxxxxxxxxxxxxx> <F8ABA114-4857-429F-9F2E-9454C9F9E4D5@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (X11/20071022)
Markus Gerber schrieb:
> #
> #  Kernel + memory size
> #
> kernel      = '/boot/vmlinuz-2.6.22-14-xen'
> ramdisk     = '/boot/initrd.img-2.6.22-14-xen'
> memory      = '512'
> 
> #
> #  Disk device(s).
> #
> root        = '/dev/sda1 ro'
> disk        = [ 'phy:data/dom1-disk,sda1,w',
> 'phy:data/dom1-swap,sda2,w', 'phy:/dev/mapper/data-share,xvda1,w' ]

as sda is working for you, i would change xvda1 to e.g. sda3.
indeed, the suggested xvda should also work.

i've never tried to use the mapper, my working setup's are used via

phy:volumegroupname/logicalvolumename

e.g. phy:vg0/lvdisk1 ( phy:/dev/vg0/lvdisk1 should work also...)

additionally, be sure to NOT mount your particular lv in dom0
when using it in domU.


btw. maybe you're using the same setup? is you vg labeled 'data' ?


Hope this helps

Greetings

Stephan



> 
> The modules are all in /lib/modules. 'depmod -a' and a reboot didn't
> change anything.
> 

Attachment: s_seitz.vcf
Description: Vcard

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>