Getting iSCSI devices to mount persistently using LVM on SLES 9

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




Trying to get iSCSI devices using LVM to mount persistently after reboot.
Getting "probe failed, n retries remaining" where n is 9 down to 0.


Please reference TID 10097545 for more details of setting up iSCSI.

LVM does not dynamically rescan when a new ISCSI device is presented to it. The default load order is to first bring up boot.lvm and then later bring up iSCSI. Thus we need to rescan LVM to make the data from the iSCSI device usable.

Make sure boot.lvm and iscsi start on bootup.
chkconfig boot.lvm on
chkconfig iscsi on

Create a /etc/fstab.iscsi file to mount the iscsi device's file system. This file uses the same fields as the normal fstab file. Below is an example volume group is "vg3" logical volume is "lv3".
/dev/mapper/vg3-lv3 /mnt/lv3 ext3 defaults 1 2

Make a empty directory for the mount point /mnt/lv3
mkdir /mnt/lv3

Modify the beginning of /sbin/iscsi-mountall to give a delay of 10 seconds so iscsi is completely connected, rescan using vgscan and then make it available again.
#! /bin/sh
# Mount iSCSI devices listed in /etc/fstab

#added by Novell technical support
sleep 10
/sbin/lvchange -a n /dev/vg3/lv3
/sbin/lvchange -a y /dev/vg3/lv3
#end of addition by Novell technical support



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:7000158
  • Creation Date: 21-Apr-2008
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact:

SUSE Support Forums

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

Join Our Community

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.

SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

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

Go to Customer Center