SUSE Support

Here When You Need Us

Under Xen, iSCSI initiator fails to load at boot

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

Environment

SUSE Linux Enterprise Desktop 10
SUSE Linux Enterprise Server 10

Situation

In some cases, the iSCSI initiator fails to load at boot when booting into the Xen kernel.

Resolution

On some systems running multiple NICs with Xen, it has been reported that the iSCSI initiator fails to load at boot time. When the Xen network bridges are setup, the network is brought down, causing iSCSI to lose its connection. The fix is to load iSCSI after the "xend". This solution may work on other systems where there is only one NIC.
  1. Open a terminal
  2. Change directories to /etc/init.d
  3. Open the file named "open-iscsi"
  4. The comment section should look like this:
    ### BEGIN INIT INFO
    # Provides: iscsi
    # Required-Start: $network
    # Should-Start:
    # Required-Stop:
    # Should-Stop:
    # Default-Start: 3 5
    # Default-Stop:
    # Short-Description: Starts and stops the iSCSI client initiator
    ### END INIT INFO
  5. Change it to (change high-lighted in bold)
    ### BEGIN INIT INFO
    # Provides: iscsi
    # Required-Start: $network +xend
    # Should-Start:
    # Required-Stop:
    # Should-Stop:
    # Default-Start: 3 5
    # Default-Stop:
    # Short-Description: Starts and stops the iSCSI client initiator
    ### END INIT INFO
  6. Save the file
  7. Use insserv to register the depenceny change
    insserv open-iscsi
  8. Turn the service back on
    chkconfig open-iscsi on

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:3737586
  • Creation Date: 07-Jan-2008
  • Modified Date:13-Mar-2021
    • SUSE Linux Enterprise Desktop
    • 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.