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] Problems booting domU from lvm with multiple LV's

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Problems booting domU from lvm with multiple LV's
From: Stephan Seitz <s.seitz@xxxxxxxxxxxx>
Date: Wed, 23 Jul 2008 10:47:40 +0200
Delivery-date: Wed, 23 Jul 2008 01:45:35 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4BE23126-7DF6-4AB8-9D0A-19644D977A29@xxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: netz-haut e.K.
References: <4BE23126-7DF6-4AB8-9D0A-19644D977A29@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (X11/20080505)
Hi,

could you send your domU config please?

I assume the disk entry is garbled. If your vg is named LVM and your
lv's are named LV1 and LV2 this line reads e.g.

disk = [ 'phy:/dev/LVM/LV1,xvda1,rw','phy:/dev/LVM/LV2,xvda2,rw' ]

cheers

Stephan


Jai schrieb:
Hi,

I'm having difficulty understanding why my domU image will not boot if there are more than 1 disk device from the same LVM volume group allocated to a domU.

For example:
The basic diagram below tries to show how my disk stacking is setup.
------------------------
|       /       |  /usr     |
------------------------
|          domU         |
------------------------
|   xvda1 |  xvda2 |
------------------------
|   LV1     |   LV2   |
------------------------
|            LVM          |
------------------------
|      /dev/drbd0     |
------------------------
|       /dev/sda1      |
------------------------
For some reason creating a domU in this configuration results in a message;
"Error: Device 51729 (vbd) could not be connected. Hotplug scripts not working. "
in the logs there are entries with;
"[2008-07-23 14:51:58 xend 8058] DEBUG (blkif:24) exception looking up device number for xvda1: [Errno 2] No such file or directory: \047/dev/xvda1\047" "[2008-07-23 14:51:58 xend 8058] DEBUG (blkif:24) exception looking up device number for xvda2: [Errno 2] No such file or directory: \047/dev/xvda2\047"

But if I boot a domU with only 1 logical volume assigned to the domU (see diagram below) the VM boots without problems.
-------------
|        /       |
-------------
|   domU  |
-------------
|   xvda    |
-------------
|   LV1     |
------------------------
|            LVM          |
------------------------
|      /dev/drbd0     |
------------------------
|       /dev/sda1      |
------------------------

I have trolled the net looking for some answers but none seem to provide one. Any help on what may be the cause would be greatly appreciated. I can provide config examples if that will help, but at this stage I'm thinking it may be a bug and not wrong configuration. I may be wrong though :)

Thanks.

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


--
Stephan Seitz
Senior System Administrator

*netz-haut* e.K.
multimediale kommunikation

zweierweg 22
97074 würzburg

fon: +49 931 2876247
fax: +49 931 2876248

web: www.netz-haut.de <http://www.netz-haut.de/>

registriergericht: amtsgericht würzburg, hra 5054

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