Porting the block-iscsi hotplug script

Roger Pau Monné roger.pau at citrix.com
Fri Mar 4 10:00:25 UTC 2016



On Thu, 3 Mar 2016, Gustau Pérez wrote:
> El 2/03/16 a les 10:46, Roger Pau Monné ha escrit:
> >> complains about one of the disks already declared in the xenstore.
> >> However the store seem to be fine [3].  If I remove that disk from the
> >> definition the domain boots just fine.
> > According to [2], you are assigning the same vdev to both disks (xvda).
> > This is not possible, you should change the second disk definition to:
> >
> > 'phy:/dev/zvol/dades/debian_1,xvdb,rw'
> >
> > Or any other xvd* value that's not xvda.
> 
>     Ah, you're right. Cut and paste betrayed me :) However perhaps the
> error message may be misleading (it made me think the error was the
> volume, no the given virtual disk).

Patches are welcome :). 

> http://www.informit.com/articles/article.aspx?p=1160234 
> 
>    Very  interesting. I'd need some time to read it through.
> 
>    I'm checking the libxl code and I'd like to pass more arguments to
> the script. I'll modify libxl/libxl_freebsd.c to do so. I'll let you
> know my experiments.

What other parameters do you want to pass to your script that cannot be 
fetched from xenstore? IMHO I was planning to only pass the xenstore 
backend node and the action.

Roger.


More information about the freebsd-xen mailing list