From: James Harper Subject: iSCSI root Date: Sat, 28 Aug 2004 22:33:53 +1000 Sender: xen-devel-admin@lists.sourceforge.net Message-ID: <64B73EE2-2EDF-4583-99F2-8ABC649D560C@mimectl> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="_790E4FAC-64CA-47B4-80C8-357643ED1C4C_" Return-path: content-class: urn:content-classes:message Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: "xen-devel@lists.sourceforge.net" List-Id: xen-devel@lists.xenproject.org --_790E4FAC-64CA-47B4-80C8-357643ED1C4C_ Content-Type: multipart/alternative; boundary="_32BA441B-CE52-48E0-AEF7-3AF18B1D53A1_" --_32BA441B-CE52-48E0-AEF7-3AF18B1D53A1_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable As promised, here's what I did to get iSCSI root running under XenU under D= ebian 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=20 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 RE= ADME in iscsi-init. Reboot and enjoy. Sorry if it's a bit vague, i can fill in any details if a= nyone is interested. I'm just now trying to get RAID1 working over iscsi so I get high availabil= ity, but mkinitrd starts raid before the iscsi script runs so I need to re-= jig it a bit. James --_32BA441B-CE52-48E0-AEF7-3AF18B1D53A1_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
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 t= hem as modules)
Build it according to the instructions the= re (i found it a bit tricky) and install under your XenU
Built it according to the instructions the= re (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 co= mmand line for XenU as per the README in iscsi-init.
 
Reboot and enj= oy. Sorry if it's a bit vague, i can fill in any details if any= one is interested.
=  
I'm just now trying to get RAID1 working o= ver iscsi so I get high availability, but mkinitrd starts raid before the i= scsi script runs so I need to re-jig it a bit.
 
James
 
 
 
 
 
--_32BA441B-CE52-48E0-AEF7-3AF18B1D53A1_-- --_790E4FAC-64CA-47B4-80C8-357643ED1C4C_ Content-Type: application/octet-stream Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="iscsi-init" Content-Description: iscsi-init X-MS-UrlCompName: iscsi-init IyEvYmluL3NoDQoNCk1PRD1gZmluZCAvbGliL21vZHVsZXMvJFZFUlNJT04gLW5hbWUgJ2lzY3Np X3NmbmV0LipvJ2ANCm1rZGlyIC1wICRJTklUUkRESVIvYGRpcm5hbWUgJE1PRGANCmNwICRNT0Qg JElOSVRSRERJUi8kTU9EDQoNCk1PRD1gZmluZCAvbGliL21vZHVsZXMvJFZFUlNJT04gLW5hbWUg J2lzY3NpX2luaXQuKm8nYA0KbWtkaXIgLXAgJElOSVRSRERJUi9gZGlybmFtZSAkTU9EYA0KY3Ag JE1PRCAkSU5JVFJERElSLyRNT0QNCg0KY2F0IDw8RU9GID4kSU5JVFJERElSL3NjcmlwdHMvaXNj c2ktaW5pdC5zaA0KIyEvYmluL3NoDQoNCm1vdW50IC1udCBwcm9jIHByb2MgL3Byb2MNCm1vdW50 IC1udCB0bXBmcyB0bXBmcyAvZGV2DQptb2Rwcm9iZSBpc2NzaV9zZm5ldA0KbW9kcHJvYmUgaXNj c2lfaW5pdA0KdW1vdW50IC9kZXYNCnVtb3VudCAvcHJvYw0KRU9GDQoNCmNobW9kICt4ICRJTklU UkRESVIvc2NyaXB0cy9pc2NzaS1pbml0LnNoDQo= --_790E4FAC-64CA-47B4-80C8-357643ED1C4C_-- ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click