Installing the initiator for red hat 3 and suse 8, Installing the iscsi driver, Assigning device names – HP 3000 Enterprise Virtual Array User Manual

Page 82: 82 installing the iscsi driver

Advertising
background image

If there are problems starting the iscsi daemon, they are usually caused by an incorrect IP Address
or an ill-formatted initiator name.

Installing the initiator for Red Hat 3 and SUSE 8

If you are upgrading from a previous installation of an iSCSI driver, HP recommends that you remove
the /etc/initiatorname.iscsi file before installing the new driver. See the following website
for the latest version of the Linux driver for EVA iSCSI connectivity:

http://sourceforge.net/projects/linux-iscsi

NOTE:

The Linux driver supports both Red Hat 3 and SUSE 8. See the

Readme file in the tar ball for more

information on how to configure the Linux iSCSI Initiator.

Installing the iSCSI driver

In a newly installed Red Hat Linux kernel, an iSCSI instance may be running. Before installing the
iSCSI driver, you must stop the instance.

To stop the instance:

1.

Run setup.

2.

Deselect iSCSI.

3.

Reboot the system.

See the Readme file in the tar ball for more information on configuring the iSCSI Initiator.

To install the iSCSI driver:

1.

Use tar(1) to decompress the source archive into a directory of your choice. The archive
contains a subdirectory corresponding to the archive name. Use the following commands to
decompress the source archive:

cd /usr/src

tar xvzf /path/to/linux-iscsi-version.tgz

cd linux-iscsi-<version>

2.

Compile the iSCSI driver. If your kernel sources are not in the usual place, add TOPDIR=/path/
to/kernel

or edit the definition of TOPDIR in Makefile. Use the Make command to edit

Makefile

.

3.

Install the driver as root. If you are currently using the iSCSI driver, first unmount all iSCSI devices
and unload the old iSCSI driver. If your Linux distribution includes an iSCSI driver, it may be
necessary to uninstall that package first.

4.

Configure the driver. See

Installing and configuring for RedHat 3, 4 and SuSE 8 and 9

, page 81.

Assigning device names

Because Linux assigns SCSI device nodes dynamically whenever a SCSI logical unit is detected, the
mapping from device nodes such as /dev/sda or /dev/sdb to iSCSI targets and logical units may
vary.

Setting up the iSCSI Initiator and storage

82

Advertising
This manual is related to the following products: