WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] iSCSI root

To: "xen-devel@xxxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] iSCSI root
From: James Harper <JamesH@xxxxxxxxxxxxxxxx>
Date: Sat, 28 Aug 2004 22:33:53 +1000
Delivery-date: Sat, 28 Aug 2004 13:37:23 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Thread-index: AcSM+0dlmVOyd8TlSsG3cwW8cEmJIg==
Thread-topic: 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 4.0.1.8 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
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.
 
James
 
 
 
 
 

Attachment: iscsi-init
Description: iscsi-init

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