Instruction manual

165
UM-MV-12-B1-0801 Cybernetics
Red Hat 9 & Enterprise Linux 3
To install an RPM:
Go to http://sourceforge.net/projects/linux-iscsi
and download the latest Production RPM
for your distro version.
Install from the RPM - run `rpm -i rpmfile`
SuSE Linux Pro 9.1
The package name is linux-iscsi (version 4.0.1-83). This initiator works with cy-iscsi prod-
ucts (hstc, misan, itape). However, you must edit /etc/init.d/iscsi to point to the proper
location for the kernel driver. If you do not edit this file, the attempt to start iscsi will hang.
Edit /etc/init.d/iscsi as follows:
Find the line (in most cases line 207) that has the following:
EM=/lib/modules/'uname -r'/misc/iscsi.ko
Change it to EM=/lib/modules/'uname -r'/extra/iscsi.ko
Source Compilation
To install from source:
Go to http://sourceforge.net/projects/linux-iscsi
and download the Production source file
for your kernel version. You will probably want to make a directory such as /usr/src/iscsi
to download to.
Read the README file and make sure that all dependencies are resolved.
Extract the source folder. `gunzip` the file and then `tar -xvf` the unzipped file
Change to the folder and run `make` to build the driver.
Then run `make install` to build the installation script and start the installation.
Setup
Edit the iSCSI configuration file at /etc/iscsi.conf using your favorite file editor. You will
add the remote iSCSI target IP address (iTape, HSTC, etc) as a DiscoveryAddress
(example: DiscoveryAddress=192.168.1.1). Save the file.
Stop & restart the iSCSI service. Change to the /etc/init.d directory and run `./iscsi stop`
followed by `./iscsi start`
Test the setup
Confirm that the OS sees the tape device(s). `cat /proc/scsi/scsi` will list all attached SCSI
devices (including iSCSI).
You should now have a device called "st0". Run `mt -f /dev/st0 status` to confirm this. If
there are mutiple remote iSCSI target tape drives, check the status of each (st1, st2, etc).