/etc/iscsi/iscsid.conf
. This file contains iSCSI settings used by iscsid
and iscsiadm
.
iscsiadm
tool uses the settings in /etc/iscsi/iscsid.conf
to create two types of records:
/var/lib/iscsi/nodes
iscsiadm
uses the settings in this file.
/var/lib/iscsi/discovery_type
iscsiadm
uses the settings in this file.
/var/lib/iscsi/discovery_type
) first. To do this, use the following command:
iscsiadm -m discovery -t discovery_type
-p target_IP
:port
-o delete
[7]
/etc/iscsi/iscsid.conf
file directly prior to performing a discovery. Discovery settings use the prefix discovery
; to view them, run:
iscsiadm -m discovery -t discovery_type
-p target_IP
:port
iscsiadm
can also be used to directly change discovery record settings, as in:
iscsiadm -m discovery -t discovery_type
-p target_IP
:port
-o update -n setting
-v %value
man iscsiadm
for more information on available setting
s and valid value
s for each.
man
pages of iscsiadm
and iscsid
. The /etc/iscsi/iscsid.conf
file also contains examples on proper configuration syntax.
[7]
The
and target_IP
variables refer to the IP address and port combination of a target/portal, respectively. For more information, refer to Section 21.2.1, “iSCSI API” and Section 21.12, “
Scanning iSCSI Interconnects”.
port
[8]
For details on different types of discovery, refer to the DISCOVERY TYPES section of man iscsiadm
.