B.2. iSCSI Disks During Start Up
ISCSI-related events might occur at a number of points while the system starts:
- The init script in the initrd will log in to iSCSI targets used for
/
(if any). This is done using the iscsistart utility (which can do this without requiring iscsid to run). - When the root filesystem has been mounted and the various service initscripts get run, the iscsid initscript will get called. This script will then start iscsid if any iSCSI targets are used for
/
, or if any targets in the iSCSI database are marked to be logged in to automatically. - After the classic network service script has been run (or would have been run if enabled) the iscsi initscript will run. If the network is accessible, this will log in to any targets in the iSCSI database which are marked to be logged in to 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 initscript. See:
/etc/NetworkManager/dispatcher.d/04-iscsi
Important
Because NetworkManager is installed in/usr
, you cannot use it to configure network access if/usr
is 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.