iSCSI devices are not automatically mounted when using multipath in fstab
This document (3511763) is provided subject to the disclaimer at the end of this document.
After the system is booted you can successfully mount the device.
For SLES 10 SP1 here is the necessary information:
Problem here is the multipath setup.
In /etc/udev/rules.d/85-mount-fstab.rules you'll find:
SUBSYSTEM=="block", ACTION=="add", KERNEL=="sd*[0-9]|hd*[0-9]", RUN+="mount.sh"
So we'll only do an automated mount for 'sd' and 'hd' devices; and as multipath devices are 'dm-X' they won't be mounted automatically.
To fix this add dm-* so they will mount automatically.
Entry in /etc/fstab for multipath iSCSI device (hotplug option is needed).
Complete /etc/udev/rules.d/85-mount-fstab.rules file ( we added |dm-* )
SUBSYSTEM=="block", ACTION=="add", KERNEL=="sd*[0-9]|hd*[0-9]|dm-*", RUN+="mount.sh"
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:3511763
- Creation Date: 27-Nov-2007
- Modified Date:16-Mar-2021
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: email@example.com