El 27/04/2015 a les 09:56, Gustau Pérez ha escrit:
> I'm trying to port the linux block-iscsi hotplug script and I
> discovered there is a chain of sourcing that ends up to including 5 or 6
> scripts in the tools/hotplug/Linux directory. Can I strip those and
> rewrite them to include only the necessary code in the Freebsd hotplug
> directory? I presume there's no assumption about the scripts' names
> other than the hotplug script itself, but I'd like to first ask.
This morning I got some time to work the block-iscsi script. With
some tweaking I was able to call directly the script with something like:
and I was also able to simulate the remove. To do so I had to comment
out some variables (XENBUS_PATH for example).
Now I'm trying to test it at domain creation time, and to do so I had
to uncomment XENBUS_PATH and the other changes. Creating the domain with
the disk using the iscsi syntax  fails. In the xen log file I get an
error complaining about XENBUS_PATH not being set .
I was hoping that XENBUS_PATH would be set by the xl toolstack. Am I
doing anything wrong?
 disk =
 XENBUS_PATH: parameter null or not set
> firstname.lastname@example.org mailing list
> To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"
email@example.com mailing list
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"