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

[Xen-users] Problems booting domU from lvm with multiple LV's

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Problems booting domU from lvm with multiple LV's
From: Jai <awayatm@xxxxxxxxx>
Date: Wed, 23 Jul 2008 16:19:54 +1000
Delivery-date: Tue, 22 Jul 2008 23:19:54 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:mime-version :content-transfer-encoding:message-id:content-type:to:from:subject :date:x-mailer; bh=snGc+qByflM2ex3E0G4hAtVJo5CXKBrBUQqiRTzo4DU=; b=qA48wIUwtSjN5GQFoPWfzQsElHIdTGpB15M4/emnsYaT8I+JQxvNGotIL5Wjtg2pHk b0VsY9oG3I1edKBs7YQ8ut/r5FplxvaYJV3nTqXuZ2OO6nAA8MEAh99w4zWKwOvBAWq3 eWVWETf+UGkM4vB9DjFiLb9qwhWSJ82BiCuQ8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:content-transfer-encoding:message-id:content-type:to :from:subject:date:x-mailer; b=OKyQhEO+EEP6TvFYad6bxB5iqvYQJS6WUOQdQYVeE4elqcPNj2Ewn5zvVEiSNiJ5rq MarIMroMzpwkOF7ys9p/XXqnsIe3mZ6bPS4gur2B5DdsvG36V0RKC3OyAC2z/To8+k2p 9v3oJ5Te9OkQ2C8C5aOekPgCfBPrkpLTfdf/o=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

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