From: Ian Campbell Subject: Re: xl - no support for DRBD disks? Date: Mon, 9 May 2011 15:40:01 +0100 Message-ID: <1304952001.26692.230.camel@zakaz.uk.xensource.com> References: <1304930919.26692.199.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "rshriram@cs.ubc.ca" Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Mon, 2011-05-09 at 15:38 +0100, Shriram Rajagopalan wrote: > On Mon, May 9, 2011 at 3:48 AM, Ian Campbell > wrote: > > On Sun, 2011-05-08 at 04:24 +0100, Shriram Rajagopalan wrote: > > I tried to create a domain with drbd based disk as the > backend > > "drbd:,..," and I get a "unknown disk type" > error. > > > > I can spin out a patch if needed, but just wanted to know > apriori if > > this was left out for any specific reason. > > > Not deliberate AFAIK. > > The intention is to make xl callout to a script whose name is > derived > from the initial part of the disk definition (e.g. the drdb > part, > similarly for iscsi and so on). > > So, the "callout to a script" functionality is already available as > part of the scripts in /etc/xen/scripts/. This includes a call out to > block-drbd (supplied by DRBD package) block-nbd, block-enbd (supplied > as part of xen tree). Cant we just re-use them > or is there some xend specific aspect to those scripts? The plan is to reuse them. > > shriram > > IanJ was looking at overhauling disk handling, including that > functionality. > > Ian. > >