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-devel

Re: [Xen-devel] register new block device script

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] register new block device script
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Mon, 24 Oct 2005 15:43:36 +0100
Cc: Michael Mey <michael.mey@xxxxxx>
Delivery-date: Mon, 24 Oct 2005 14:42:14 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200510241638.49481.michael.mey@xxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <200510241638.49481.michael.mey@xxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8.3
What version of Xen is this?  For Xen 2.0, that looks correct.  Xen 3.0 does 
things differently and I don't know if it needs anything else (like, possibly 
extra hotplug rules???).

Just a silly question: did you chmod +x the script?

Cheers,
Mark

On Monday 24 October 2005 15:38, Michael Mey wrote:
> Hi all,
>
> I'd like to develop a new script for block-devices.
> Where do I have to register it?
>
> It's for DRBD block devices. It's called 'block-drbd' .
> I tried the following steps:
>
> 1) copy it in /etc/xen/scripts
> 2) register it in /etc/xen/xend-config.sxp :
>     # Setup script for drbd block devices
>     (block-drbd block-drbd)
> 3) use it in a domU config file:
>     ...
>     disk = [ 'drbd:drbd0,hda1,w' ]
>     ...
>
> So far, it doesn't work.
> Can anyone give me a hint?
> Thx,
>
> Mike

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