Configuring Multipath I/O For An Existing Software Raid - Novell LINUX ENTERPRISE SERVER 10 SP2 - STORAGE ADMINISTRATION GUIDE 05-15-2009 Administration Manual

Table of Contents

Advertisement

To enable multipathing on the existing root device:
1 Install Linux with only a single path active, preferably one where the
in the partitioner.
2 Mount the devices by using the
3 After installation, add
4 Re-run
5 Reboot the server.
To disable multipathing on the root device:
1 Add
multipath=off
This affects only the root device. All other devices are not affected.
5.9 Configuring Multipath I/O for an Existing
Software RAID
Ideally, you should configure multipathing for devices before you use them as components of a
software RAID device. If you add multipathing after creating any software RAID devices, the DM-
MP service might be starting after the
appear not to be available for RAIDs. You can use the procedure in this section to get multipathing
running for a previously existing software RAID.
For example, you might need to configure multipathing for devices in a software RAID under the
following circumstances:
If you create a new software RAID as part of the Partitioning settings during a new install or
upgrade.
If you did not configure the devices for multipathing before using them in the software RAID
as a member device or spare.
If you grow your system by adding new HBA adapters to the server or expanding the storage
subsystem in your SAN.
NOTE: The following instructions assume the software RAID device is
which is its device name as recognized by the kernel. Make sure to modify the instructions for the
device name of your software RAID.
1 Open a terminal console, then log in as the
Except where otherwise directed, use this console to enter the commands in the following
steps.
2 If any software RAID devices are currently mounted or running, enter the following commands
for each device to dismount the device and stop it.
umount /dev/mapper/mpath0
mdadm --misc --stop /dev/mapper/mpath0
3 Stop the
/etc/init.d/boot.md stop
4 Start the
68
SLES 10 SP2: Storage Administration Guide
/dev/disk/by-id
dm-multipath
to update the
/sbin/mkinitrd
to the kernel command line.
service by entering
boot.md
and
boot.multipath
multipathd
path used during the install.
to
/etc/sysconfig/kernel:INITRD_MODULES
image.
initrd
service on reboot, which makes multipathing
multipath
user or equivalent.
root
services by entering the following commands:
symlinks are listed
by-id
.
,
/dev/mapper/mpath0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Linux enterprise desktop 10 sp2

Table of Contents