[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] iSCSI root

As promised, here's what I did to get iSCSI root running under XenU under Debian 3.1 (Sarge):
Be running linux 2.6 under XenU.
Build XenU with SCSI disk support (I did them as modules)
Get linux-iscsi from http://sourceforge.net/projects/linux-iscsi/
Build it according to the instructions there (i found it a bit tricky) and install under your XenU
Get iscsi-init 4.0.1 from http://sourceforge.net/projects/iscsi-init/
Built it according to the instructions there (much easier).
Make sure the modules from linux-iscsi and iscsi-init are in /lib/modules/... for XenU.
Copy the attached script 'iscsi-init' to /etc/mkinitrd/scripts in XenU.
mkinitrd as normal.
Add the appropriate bits to your kernel command line for XenU as per the README in iscsi-init.
Reboot and enjoy. Sorry if it's a bit vague, i can fill in any details if anyone is interested.
I'm just now trying to get RAID1 working over iscsi so I get high availability, but mkinitrd starts raid before the iscsi script runs so I need to re-jig it a bit.

Attachment: iscsi-init
Description: iscsi-init



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.