Skip to contentSkip to conversation

xl - no support for DRBD disks?

DISCUSSION Shriram Rajagopalan 3 participants 4 messages May 8, 2011 – May 9, 2011

lore
Share & tools
lore
#0 lore raw

I tried to create a domain with drbd based disk as the backend "drbd:<resourcename>,..," 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.

shriram

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 5 lines · Shriram Rajagopalan

I tried to create a domain with drbd based disk as the backend "drbd:<resourcename>,..," 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).

IanJ was looking at overhauling disk handling, including that functionality.

Ian.

#2 lore raw
Quoted 7 lines · Ian Campbell
Quoted 5 lines · Shriram Rajagopalan

I tried to create a domain with drbd based disk as the backend "drbd:<resourcename>,..," 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.

Quoted 7 lines

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

Quoted 6 lines

IanJ was looking at overhauling disk handling, including that functionality.

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw
Quoted 22 lines · Shriram Rajagopalan

On Mon, May 9, 2011 at 3:48 AM, Ian Campbell <[email protected]> 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:<resourcename>,..," 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).

Quoted 5 lines

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.

Quoted 9 lines

shriram

IanJ was looking at overhauling disk handling, including that functionality.

Ian.