
Managing Multipath I/O for Devices
71
no
vd
ocx
(e
n)
7 Ja
nua
ry 201
0
Procedure
Use the following procedure to scan the devices and make them available to multipathing without
rebooting the system.
1
On the storage subsystem, use the vendor’s tools to allocate the device and update its access
control settings to allow the Linux system access to the new storage. Refer to the vendor’s
documentation for details.
2
Scan all targets for a host to make its new device known to the middle layer of the Linux
kernel’s SCSI subsystem. At a terminal console prompt, enter
rescan-scsi-bus.sh [options]
3
Check for scanning progress in the system log (the
/var/log/messages
file). At a terminal
console prompt, enter
tail -30 /var/log/messages
This command displays the last 30 lines of the log. For example:
# tail -30 /var/log/messages
. . .
Feb 14 01:03 kernel: SCSI device sde: 81920000
Feb 14 01:03 kernel: SCSI device sdf: 81920000
Feb 14 01:03 multipathd: sde: path checker registered
Feb 14 01:03 multipathd: sdf: path checker registered
Feb 14 01:03 multipathd: mpath4: event checker started
Feb 14 01:03 multipathd: mpath5: event checker started
Feb 14 01:03:multipathd: mpath4: remaining active paths: 1
Feb 14 01:03 multipathd: mpath5: remaining active paths: 1
4
Repeat
Step 2
through
Step 3
to add paths through other HBA adapters on the Linux system
that are connected to the new device.
5
Run the
multipath
command to recognize the devices for DM-MP configuration. At a
terminal console prompt, enter
multipath
You can now configure the new device for multipathing.
5.11 Scanning for New Partitioned Devices
without Rebooting
Use the example in this section to detect a newly added multipathed LUN without rebooting.
1
Open a terminal console, then log in as the
root
user.
2
Scan all targets for a host to make its new device known to the middle layer of the Linux
kernel’s SCSI subsystem. At a terminal console prompt, enter
rescan-scsi-bus.sh [options]
For syntax and options information for the
rescan-scsi-bus-sh
script, see
Section 5.10,
“Scanning for New Devices without Rebooting,” on page 69
.
3
Verify that the device is seen (the link has a new time stamp) by entering
ls -lrt /dev/dm-*
4
Verify the new WWN of the device appears in the log by entering
tail -33 /var/log/messages
Содержание LINUX ENTERPRISE SERVER 10 SP3 - ARCHITECTURE-SPECIFIC
Страница 4: ...4 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Страница 30: ...30 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Страница 42: ...42 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Страница 76: ...76 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Страница 108: ...108 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Страница 118: ...118 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Страница 124: ...124 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Страница 132: ...132 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...