HowTo iSCSI on Fedora 9
From Frederick Chapleau Wiki
About
This How TO is based on this great article Going Enterprise - setup your FC4 iSCSI target in 5 minutes, and from the article from Plone, iSCSI Enterprise Target v0.4.16 with Fedora.
The differences are that I am using Fedora 9 as the OS, Windows XP and Windows Vista as the Client, and I'm using the latest versions of the iSCSI Target Software.
Server Installation
- First of all, I did a
yum update
to be sure that I had the latest version of the software - Secondly, I downloaded the iSCSI Target, from the trunk. The actual version is not compatible with the latest kernel
svn checkout http://svn.berlios.de/svnroot/repos/iscsitarget/trunk
- Third, install the kernel-devel package,
yum install kernel-devel
- Forth, build it
tar -xzf iscsitarget-0.4.16.tar.gz cd iscsitarget-0.4.16 make make install
- Fifth, Configuration, edit the file /etc/ietd.conf
Target host.domain.ext:deviceName
Lun 0 Path=/dev/sdb,Type=fileio
- Sixth, startup
chkconfig --add iscsi-target service iscsi-target start
Client Installation
- First, install the iSCSI initiator from Microsoft. This is already included in Windows Vista / Windows 2008, you just have to enable it, thru the control panel.
- Second, Configuration
- Start the Microsoft iSCSI Initiator
- in the discovery tab add the target:defaultPort
- in the Targets, click on Logon, select the "Automatically restore this connection when the system boots" option, and Ok
- in the Bound Volumes/Devices tab, click Bind All
- Third, delete the partition, and create a new one, using the Windows Disk Management.
You are done :)

