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] Re: using DRBD VBDs with Xen

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Re: using DRBD VBDs with Xen
From: Jean-Francois Malouin <Jean-Francois.Malouin@xxxxxxxxxxxxxxxxx>
Date: Thu, 30 Sep 2010 11:37:40 -0400
Delivery-date: Thu, 30 Sep 2010 08:42:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1285822146190-3046546.post@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/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>
Mail-followup-to: xen-users@xxxxxxxxxxxxxxxxxxx
References: <20100930023250.GA7001@xxxxxxxxxxxxxxxxx> <1285822146190-3046546.post@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
* khris4 <khris4@xxxxxxxxx> [20100930 00:50]:
> 
> Can you please provide me a copy of your domU config.

This works:

kernel      = '/boot/vmlinuz-2.6.32-5-xen-amd64'
ramdisk     = '/boot/initrd.img-2.6.32-5-xen-amd64'
vcpus       = '1'
memory      = '2048'
root        = '/dev/xvda2 ro'
disk        = [
                 'file:/xen_cluster/r1/xennode-1/disk.img,xvda2,w',
                 'file:/xen_cluster/r2/xennode-1/swap.img,xvda1,w',
             ]
name        = 'xennode-1'
vif         = [ 'ip=xxx.xxx.xxx.xxx,mac=00:16:3E:B7:6F:70,bridge=eth0' ]
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'

If I replace the disk entry with

disk        = [ 'drbd:r1,xvda2,w', 'drbd:r2,xvda1,w', ]

the Domu doesn't come up.
/xen_cluster/r1 is the mount point for drbd resource r1. Same for r2.

jf

> -- 
> View this message in context: 
> http://xen.1045712.n5.nabble.com/using-DRBD-VBDs-with-Xen-tp3046483p3046546.html
> Sent from the Xen - User mailing list archive at Nabble.com.
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

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