SUSE Support

Here When You Need Us

iSCSI Initiator does not connect to first iSCSI target on boot up

This document (3778731) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 10 SP1

 


Situation

There is a timing issue where the iSCSI initiator comes up directly after the network and there has not been enough time for the router/switch on the network to build the route from the iSCSI initiator to the iSCSI target. So the iSCSI initiator sees this as a real connection failure.
If you have more than one iSCSI initiator the other ones will connect.
Another symptom is that after boot up if you restart open-iscsi it will reconnect to all targets.

Resolution

This can be addressed by doing either of the following.
1. Add a delay to the open-iscsi script. This will give the network enough time to find its route.
Add "sleep 5" in the /etc/init.d/open-iscsi file in the"iscsi_login_all_nodes" section.
 
2. Modify /etc/sysconfig/boot and change RUN_PARALLEL="yes" to"no". This will slow the boot process by not allowing it to use multiple processors on boot up and shutdown. This will not limit the using of multiprocessors while the system is running, just boot up and shutdown.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:3778731
  • Creation Date: 12-Feb-2008
  • Modified Date:14-Mar-2021
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.