Installing SLES11 on an active/passive storage LUN
This document (7005037) is provided subject to the disclaimer at the end of this document.
Environment
Situation
Resolution
- Click on Partitioning in the YaST2 installation settings
- Select "Custom Partitioning (for experts)"
- Select the Hard Disks main icon, click on the Configure button and select Configure Multipath
- Start multipath
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:
- Mount the root device to /mnt:
mount /dev/mapper/3600a0b80000f4593000012ae4ab0ae65_part2 /mnt - Mount the boot device to /mnt/boot:
mount /dev/mapper/3600a0b80000f4593000012ae4ab0ae65_part1 /mnt/boot - Open /mnt/boot/grub/device.map using
less /mnt/boot/grub/device.map
- mount -o bind /dev /mnt/dev
- mount -o bind /sys /mnt/sys
- mount -o bind /proc /mnt/proc
- chroot
- Run multipath -ll and check which path is active and which one not. Passive paths are flagged as ghost.
- Change the hd0 entry in /boot/grub/device.map to an active path
- Save the changes
- In case the selection was to boot from MBR, /etc/grub.conf should look like:
setup --stage2=/boot/grub/stage2 (hd0) (hd0,0)
quit - To reinstall the bootloader use:
grub < /etc/grub.conf - exit
- umount /mnt/*
- umount /mnt
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
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com