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: Michael Mey <michael.mey@xxxxxx>
Date: Mon, 24 Oct 2005 17:32:09 +0200
Delivery-date: Mon, 24 Oct 2005 15:31:17 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200510241543.36885.mark.williamson@xxxxxxxxxxxx>
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>
Organization: Thinking Objects Software GmbH
References: <200510241638.49481.michael.mey@xxxxxx> <200510241543.36885.mark.williamson@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8.3
Oh sorry, I forgot to mention. Yes, it's for Xen 2.0.7.

Hm, strange. I rechecked everything including execution permissions for the 
script. Now it works fine. Thought it wasn't called, but I guess there was a 
problem with drbd.

Thanks, regards

Mike


On Monday 24 October 2005 16:43, Mark Williamson wrote:
> 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

-- 
----------------------------------------------------------------------------------------
Michael Mey                                  
Thinking Objects Software GmbH    |   mailto: michael.mey@xxxxxx 
Lilienthalstrasse 2/1                         |   phone: +49 711 88770-147
70825 Stuttgart-Korntal, Germany  |   fax: +49 711 88770-449
----------------------------------------------------------------------------------------

Attachment: pgp9wNJoON6UV.pgp
Description: PGP signature

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