From: Mark Williamson Subject: Re: register new block device script Date: Mon, 24 Oct 2005 15:43:36 +0100 Message-ID: <200510241543.36885.mark.williamson@cl.cam.ac.uk> References: <200510241638.49481.michael.mey@to.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200510241638.49481.michael.mey@to.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Michael Mey List-Id: xen-devel@lists.xenproject.org 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