This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] iscsi

> I've just added the SCSI menu option from arch/i386/config.in
> (see attached), and built a xenolinux with SCSI and SCSI disk
> support compiled in. I'm not sure how you enable iSCSI support
> (of indeed if the standard kernel even has iSCSI support).

Great - thanks. There is no stock support of iSCSI in Linux.
The Redhat and Suse distributions both have one. I've always used
the one from Cisco on sourceforge. The question is what do you do
for a target? I believe that one has been written for Linux, but
have never used it. I've written one for FreeBSD that could be easily
ported to Linux. If the company that I've done it for doesn't pay me
for the last bit of work I've done, I'd probably rather open-source
it than take the time and energy to pursue the more common alternative.

> Exporting disks to domains via iSCSI would be cool. There's
> always the alternative of the much simpler 'enbd', but iSCSI
> sounds nicer. I wander if there's support for iSCSI root devices?
> (if not, it's possible something could be bodged with an initrd
> initial ramdisk).

iSCSI is the more general of the two. DataOnTap now supports exporting
LUNs over FCP and iSCSI. One can create a LUN as "golden image" and
clone it arbitrarily many times. Thanks to the COW nature of WAFL the
only additional space required by the cloned LUNs is for modifications.

The only way for an iSCSI root to work out of the box is to have an
initiator with a BIOS, none that I know of currently do. One could
play clever tricks by initially having a ramdisk and then switching.

My intention is to have domain 0 boot from local disk, but have all of
the non-privileged domains boot off of iscsi backed VBDs.


> xenolinux-2.4.24-sparse/arch/xeno/config.in: 1.12 1.13 iap10 04/01/20 
> 18:24:17 (modified, needs delta)
> @@ -108,6 +108,17 @@
>  endmenu
> +mainmenu_option next_comment
> +comment 'SCSI support'
> +
> +tristate 'SCSI support' CONFIG_SCSI
> +
> +if [ "$CONFIG_SCSI" != "n" ]; then
> +   source drivers/scsi/Config.in
> +fi
> +endmenu
> +
> +
>  if [ "$CONFIG_NET" = "y" ]; then
>     source net/Config.in
>  fi

The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>