SUSE Support

Here When You Need Us

Installing SLES11 on an active/passive storage LUN

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

Environment

SUSE Linux Enterprise Server 11

Situation

This article will explain which steps are necessary to install SLES11 on an active/passive storage.

Resolution

As multipathd is not active during the installation, it needs to be started in the partitioner:
  1. Click on Partitioning in the YaST2 installation settings
  2. Select "Custom Partitioning (for experts)"
  3. Select the Hard Disks main icon, click on the Configure button and select Configure Multipath
  4. Start multipath
YaST2 starts to rescan the disks and shows available multipath devices (like /dev/mapper/3600a0b80000f4593000012ae4ab0ae65). This is the device that should be used for all further processing.

Once all settings are done and the installation finished, YaST2 will start to write the bootloader information and display a countdown to restart the system. Stop the counter by clicking the Stop button and press CTRL+ALT+F5 to access a console.

As the installation does not distinguish between active and passive paths, it might happen that a passive path was entered in /boot/grub/device.map. To check this:
  1. Mount the root device to /mnt:

    mount /dev/mapper/3600a0b80000f4593000012ae4ab0ae65_part2 /mnt

  2. Mount the boot device to /mnt/boot:

    mount /dev/mapper/3600a0b80000f4593000012ae4ab0ae65_part1 /mnt/boot

  3. Open /mnt/boot/grub/device.map using

    less /mnt/boot/grub/device.map
In case the hd0 entry points to a passive path the configuration needs to be changed and the bootloader has to be reinstalled. Proceed as described below:
  1. mount -o bind /dev /mnt/dev
  2. mount -o bind /sys /mnt/sys
  3. mount -o bind /proc /mnt/proc
  4. chroot
  5. Run multipath -ll and check which path is active and which one not. Passive paths are flagged as ghost.
  6. Change the hd0 entry in /boot/grub/device.map to an active path
  7. Save the changes
  8. In case the selection was to boot from MBR, /etc/grub.conf should look like:

    setup --stage2=/boot/grub/stage2 (hd0) (hd0,0)
    quit

  9. To reinstall the bootloader use:

    grub < /etc/grub.conf

  10. exit
  11. umount /mnt/*
  12. umount /mnt
To return to the graphical environment use CTRL+ALT+F7 and press ok to have the installation reboot.

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:7005037
  • Creation Date: 16-Dec-2009
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

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

SUSE Support Forums

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

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.

Open an Incident

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