Show Table of Contents
B.2. iSCSI Disks During Start Up
Events related to iSCSI might occur at a number of points while the system is starting:
- The init script in the initrd will log into iSCSI targets used for
/, if any. This is done using the iscsistart utility, without requiring iscsid to run.
NoteIf the root file system is on an iSCSI disk connected using IPv6, ensure that the installed system is using the correct
ip=boot option, for example
ip=eth0:auto6. If this option is not set, the installed system can spend up to 20 minutes at boot time attempting to establish a connection, before eventually succeeding. Using the correct
ip=option eliminates this delay.
- When the root file system has been mounted and the various service init scripts are running, the iscsi init script will get called. This script then starts the iscsid daemon if any iSCSI targets are used for
/, or if any targets in the iSCSI database are marked to be logged into automatically.
- After the classic network service script has been run, the iscsi init script will run. If the network is accessible, this will log into any targets in the iSCSI database that are marked to be logged into automatically. If the network is not accessible, this script will exit quietly.
- When using NetworkManager to access the network, instead of the classic network service script, NetworkManager will call the iscsi init script. Also see the
/etc/NetworkManager/dispatcher.d/04-iscsifile for further reference.
ImportantBecause NetworkManager is installed in the
/usrdirectory, you cannot use it to configure network access if
/usris on network-attached storage such as an iSCSI target.
If iscsid is not needed as the system starts, it will not start automatically. If you start iscsiadm, iscsiadm will start iscsid in turn.