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:34:54 +0200
Delivery-date: Mon, 24 Oct 2005 15:33:55 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20051024145941.GF11545@xxxxxxxxxxxxxxxxxxxxxx>
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> <20051024145941.GF11545@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8.3
The hotplug/udev infrastructure support is for Xen 3.0, right? Because I 
downloaded the latest sources of Xen-stable last week.

After rechecking all of my steps, it finally works fine :)

Regards,

Mike


On Monday 24 October 2005 16:59, Ewan Mellor wrote:
> On Mon, Oct 24, 2005 at 04:38:39PM +0200, 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)
>
> There's no need to do this.  This is out-of-date stuff from the pre-hotplug
> days.  I removed these examples last week, in fact, so you may want to
> update your config file.
>
> These scripts are now called by the hotplug/udev infrastructure.  There
> should be no need to register the script as such -- xen-backend.agent
> should be called by udev, and then that will call /etc/xen/scripts/block,
> which in turn will call /etc/xen/scripts/block-drdb.
>
> Have a look in your syslog files (particularly the debug level one,
> e.g. /var/log/debug) and maybe add some tracing to those files, to see
> where it gets stuck.
>
> You might also want to try
>
> PYTHONPATH=/usr/lib/python python /usr/lib/python/xen/util/diagnose.py
> <dom>
>
> which at least will tell you whether the store entries for the device have
> been created correctly.
>
> Cheers,
>
> Ewan.
>
> _______________________________________________
> 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: pgp5X2RsBptGl.pgp
Description: PGP signature

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>