From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shriram Rajagopalan Subject: Re: xl - no support for DRBD disks? Date: Mon, 9 May 2011 09:38:26 -0500 Message-ID: References: <1304930919.26692.199.camel@zakaz.uk.xensource.com> Reply-To: rshriram@cs.ubc.ca Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0157631389==" Return-path: In-Reply-To: <1304930919.26692.199.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org --===============0157631389== Content-Type: multipart/alternative; boundary=0016e6d64527353c1a04a2d8cd14 --0016e6d64527353c1a04a2d8cd14 Content-Type: text/plain; charset=ISO-8859-1 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? shriram > IanJ was looking at overhauling disk handling, including that > functionality. > > Ian. > > --0016e6d64527353c1a04a2d8cd14 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Mon, May 9, 2011 at 3:48 AM, Ian Campbell <Ian.Campbell@= citrix.com> wrote:
On Sun, 2011-05-08 at 04:24 +0100, Shrira= m Rajagopalan wrote:
> I tried to create a domain with drbd based disk as the backend
> "drbd:<resourcename>,..," and I get a "unknown di= sk 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-n= bd, block-enbd (supplied as part of xen tree). Cant we just re-use them
or is there some xend specific aspect to those scripts?

shriram
<= /div>
IanJ was looking at overhauling disk handling, including that
functionality.

Ian.


--0016e6d64527353c1a04a2d8cd14-- --===============0157631389== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0157631389==--