
Managing Multipath I/O for Devices
69
no
vd
ocx
(e
n)
7 Ja
nua
ry 201
0
3
Stop the
boot.md
service by entering
/etc/init.d/boot.md stop
4
Start the
boot.multipath
and
multipathd
services by entering the following commands:
/etc/init.d/boot.multipath start
/etc/init.s/multipathd start
5
After the multipathing services are started, verify that the software RAID’s component devices
are listed in the
/dev/disk/by-id
directory. Do one of the following:
Devices Are Listed:
The device names should now have symbolic links to their Device
Mapper Multipath device names, such as
/dev/dm-1
.
Devices Are Not Listed:
Force the multipath service to recognize them by flushing and
rediscovering the devices.
To do this, enter the following commands:
multipath -F
multipath -v0
The devices should now be listed in
/dev/disk/by-id
, and have symbolic links to their
Device Mapper Multipath device names. For example:
lrwxrwxrwx 1 root root 10 Jun 15 09:36 scsi-mpath1 -> ../../dm-1
6
Restart the
boot.md
service and the RAID device by entering
/etc/init.d/boot.md start
7
Check the status of the software RAID by entering
mdadm --detail /dev/mapper/mpath0
The RAID’s component devices should match their Device Mapper Multipath device names
that are listed as the symbolic links of devices in the
/dev/disk/by-id
directory.
8
Make a new
initrd
to ensure that the Device Mapper Multipath services are loaded before the
RAID services on reboot. Enter
mkinitrd -f mpath
9
Reboot the server to apply these post-install configuration settings.
10
Verify that the software RAID array comes up properly on top of the multipathed devices by
checking the RAID status. Enter
mdadm --detail /dev/mapper/mpath0
For example:
Number Major Minor RaidDevice State
0 253 0 0 active sync /dev/dm-0
1 253 1 1 active sync /dev/dm-1
2 253 2 2 active sync /dev/dm-2
5.10 Scanning for New Devices without
Rebooting
If your system has already been configured for multipathing and you later need to add more storage
to the SAN, you can use the
rescan-scsi-bus.sh
script to scan for the new devices. By default,
this script scans all HBAs with typical LUN ranges.
Summary of Contents for LINUX ENTERPRISE SERVER 10 SP3 - ARCHITECTURE-SPECIFIC
Page 4: ...4 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Page 30: ...30 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Page 42: ...42 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Page 76: ...76 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Page 108: ...108 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Page 118: ...118 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Page 124: ...124 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Page 132: ...132 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...