Scanning For New Partitioned Devices Without Rebooting - Novell LINUX ENTERPRISE SERVER 10 SP2 - STORAGE ADMINISTRATION GUIDE 05-15-2009 Administration Manual

Table of Contents

Advertisement

2 On the Linux system, scan the SAN at a low level to discover the new devices. At a terminal
console prompt, enter
echo 1 > /sys/class/fc_host/host<number>/issue_lip
For example, to probe the HBA on host1, enter
echo 1 > /sys/class/fc_host/host1/issue_lip
At this point, the newly added device is not known to the higher layers of the Linux kernel's
SCSI subsystem and is not yet usable.
3 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
echo "- - -" > /sys/class/scsi_host/host<number>/scan
For example, to probe the HBA on host1, enter
echo "- - -" > /sys/class/scsi_host/host1/scan
4 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
5 Repeat
that are connected to the new device.
6 Run the
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 Detect the newly added multipathed LUN by entering:
echo '- - -' >>/sys/class/fc_host/host1/device/scsi_host\:host1/scan
echo '- - -' >>/sys/class/fc_host/host2/device/scsi_host\:host2/scan
3 Verify that the device is seen (link has a fresh timestamp) by entering
ls -lrt /dev/dm-*
4 Verify the new WWN of the device appears in the log by entering
70
SLES 10 SP2: Storage Administration Guide
Step 2
through
Step 4
to add paths through other HBA adapters on the Linux system
command to recognize the devices for DM-MP configuration. At a
multipath
/var/log/messages
user.
root
file). At a terminal

Advertisement

Table of Contents
loading

This manual is also suitable for:

Linux enterprise desktop 10 sp2

Table of Contents