HP ISCSI SR2122 Getting Started Manual page 42

Iscsi storage router
Table of Contents

Advertisement

Serving Storage to the iSCSI Initiators from the SR2122 over IP
4. Update /etc/iscsi.conf to include the IP addresses for your iSCSI targets. A sample
The iscsi.conf man page has a more detailed description of the configuration file
format. To read the man page, type:
5. Manually start iSCSI services to test your configuration.
6. Modify your init scripts to manage iSCSI. You may also need to change the order of the
7. List your iSCSI partitions in /etc/fstab.iscsi. It has the same format as /etc/fstab. The init
Device Names
Because Linux assigns SCSI device nodes dynamically whenever a SCSI logical unit is
detected, the mapping from device nodes (e.g /dev/sda, /dev/sdb) to iSCSI targets and logical
units may vary.
Variations in process scheduling and network delay may result in iSCSI targets being mapped
to different SCSI device nodes every time the driver is started. Because of this variability,
configuring applications or operating system utilities to use the standard SCSI device nodes to
access iSCSI devices may result in SCSI commands being sent to the wrong target or logical
unit.
To provide a more reliable namespace, the iSCSI driver will scan the system to determine the
mapping from SCSI device nodes to iSCSI targets, and then create a tree of directories and
symbolic links under /dev/iscsi to make it easier to use a particular iSCSI target's logical units.
42
configuration file might include entries like this:
DiscoveryAddress=33.33.33.101
man iscsi.conf
/etc/rc.d/init.d/iscsi start
If there are problems loading the iSCSI kernel module, diagnostic information will be
placed in /var/log/iscsi.log.
The iSCSI initialization will report information on each detected device to the console or
in dmesg(8) output. For example:
Vendor: SEAGATE
Type:
Direct-Access
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: hdwr sector= 512 bytes.
sda: sda1
scsi singledevice 0 0 0 1
Normal disk commands like fdisk, mkfs, and fsck will work on the iSCSI devices like a
local drive.
/proc/scsi/iscsi will contain a file (the controller number) that contains information about
the iSCSI devices.
To manually stop the iSCSI driver enter:
/etc/rc.d/init.d/iscsi stop
boot script to ensure that iSCSI services are started after the network has been initialized.
scripts will mount and unmount these partitions automatically. See the next few sections
for more details on how to do this correctly.
Model: ST39103FC
ANSI SCSI revision: 02
Sectors= 17783240 [8683 MB] [8.7 GB]
iSCSI SR2122 Storage Router: Getting Started Guide
Rev: 0002

Advertisement

Table of Contents
loading

This manual is also suitable for:

Storageworks sr2122

Table of Contents