Novell LINUX ENTERPRISE SERVER 11 - STORAGE ADMINISTRATION GUIDE 2-23-2010 Administration Manual page 128

Table of Contents

Advertisement

the discovery or from the node database. Do this with the
and
parameters
-m discovery
-m node
of
. Using
just with one of these parameters gives an overview of the stored
iscsiadm
iscsiadm
records:
iscsiadm -m discovery
149.44.171.99:3260,1 iqn.2006-02.com.example.iserv:systems
The target name in this example is
. This name is
iqn.2006-02.com.example.iserv:systems
needed for all actions that relate to this special data set. To examine the content of the data record
with the ID
, use the following command:
iqn.2006-02.com.example.iserv:systems
iscsiadm -m node --targetname iqn.2006-02.com.example.iserv:systems
node.name = iqn.2006-02.com.example.iserv:systems
node.transport_name = tcp
node.tpgt = 1
node.active_conn = 1
node.startup = manual
node.session.initial_cmdsn = 0
node.session.reopen_max = 32
node.session.auth.authmethod = CHAP
node.session.auth.username = joe
node.session.auth.password = ********
node.session.auth.username_in = <empty>
node.session.auth.password_in = <empty>
node.session.timeo.replacement_timeout = 0
node.session.err_timeo.abort_timeout = 10
node.session.err_timeo.reset_timeout = 30
node.session.iscsi.InitialR2T = No
node.session.iscsi.ImmediateData = Yes
....
To edit the value of one of these variables, use the command
with the
operation.
iscsiadm
update
For example, if you want iscsid to log in to the iSCSI target when it initializes, set the variable
to the value
:
node.startup
automatic
iscsiadm -m node -n iqn.2006-02.com.example.iserv:systems --op=update --
name=node.startup --value=automatic
Remove obsolete data sets with the
operation If the target
delete
iqn.2006-
is no longer a valid record, delete this record with the following
02.com.example.iserv:systems
command:
iscsiadm -m node -n iqn.2006-02.com.example.iserv:systems --op=delete
IMPORTANT: Use this option with caution because it deletes the record without any additional
confirmation prompt.
To get a list of all discovered targets, run the
command.
iscsiadm -m node
128 SLES 11: Storage Administration Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 11 storage

Table of Contents