iSCSI Configuration for Red Hat or SUSE Linux
170 Snap Server 700i Series User’s Guide
b
If you want to use one-way CHAP for the logical devices on your iSCSI Storage
Appliance, provide Username and Password values below the
DiscoveryAddress parameter.
• To indicate that the CHAP parameters are only associated with iSCSI targets
behind the portal, leave at least one leading space before the
Username=
and
Password=
lines, as shown in this example.
DiscoveryAddress=192.3.2.187
Username=a
Password=111111111111
• To indicate that the CHAP parameters are global, leave no leading spaces
before the
Username=
and
Password=
lines and put them in the beginning of
the iscsi.conf file.
7
Start the initiator by entering this command:
linux:~ #: /etc/init.d/iscsi start
You’ll see this message:
Starting iSCSI: iscsi iscsid fsck/mount
Note
If you open a new window and enter this command, you can watch the
syslog messages as you start the initiator:
linux:~ #: tail -f /var/log/messages
You may see errors and warnings during the startup.
8
The initiator should have discovered and logged onto the targets. Use
iscsi-ls
to
see which targets you are connected to.
Note
You can also use
cat /proc/scsi/scsi/
to view iSCSI targets as regular SCSI
disks.
linux:~ #: iscsi-ls
You will see output similar to the following:
******************************************************************
Cisco iSCSI Driver Version ... 4.0.188.26 ( 21-May-2004 )
******************************************************************
TARGET NAME : iqn.snap710622.iscsi0
TARGET ALIAS : iscsi0
HOST NO : 1
BUS NO : 0
TARGET ID : 46
TARGET ADDRESS : 192.3.2.187:3260
Summary of Contents for Snap Server 700i Series
Page 1: ...Snap Server 700i Series User s Guide for Adaptec OnTarget Powered Snap Servers ...
Page 6: ......
Page 12: ...6 Snap Server 700i User s Guide ...
Page 18: ...Finding More Information 12 Snap Server 700i Series User s Guide ...
Page 32: ...System Requirements 26 Snap Server 700i Series User s Guide ...
Page 82: ...Backing Up Your Data with Mirrored Volumes 76 Snap Server 700i Series User s Guide ...
Page 114: ...Updating the Adaptec OnTarget Operating System 108 Snap Server 700i Series User s Guide ...
Page 182: ...iSCSI Configuration for Solaris 176 Snap Server 700i Series User s Guide ...
Page 192: ...Getting Help 186 Snap Server 700i Series User s Guide ...
Page 210: ...Adaptec Storage Manager Feature Support by OS 204 Snap Server 700i Series User s Guide ...
Page 216: ...Example Command Line Installations 210 Snap Server 700i Series User s Guide ...