Scanning For New Partitioned Devices Without Rebooting - Novell LINUX ENTERPRISE SERVER 10 SP3 - STORAGE ADMINISTRATION GUIDE 2-23-2010 Administration Manual

Table of Contents

Advertisement

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
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
that are connected to the new device.
5 Run the
multipath
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
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
"Scanning for New Devices without Rebooting," on page
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
Step 3
to add paths through other HBA adapters on the Linux system
command to recognize the devices for DM-MP configuration. At a
root
rescan-scsi-bus-sh
file). At a terminal
/var/log/messages
user.
script, see
69.
Managing Multipath I/O for Devices
Section 5.10,
71

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 10 sp3 storage

Table of Contents