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

Table of Contents

Advertisement

5 After the multipathing services are started, verify that the software RAID's component devices
are listed in the
/dev/disk/by-id
Devices Are Listed: The device names should now have symbolic links to their Device
Mapper Multipath device names, such as
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
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
/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
8 Make a new
initrd
RAID services on reboot. Enter
mkinitrd -f multipath
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
0
253
1
253
2
253
7.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
this script scans all HBAs with typical LUN ranges.
Syntax
rescan-scsi-bus.sh [options] [host [host ...]]
You can specify hosts on the command line (deprecated), or use the
(recommended).
directory. Do one of the following:
/dev/disk/by-id
service and the RAID device by entering
to ensure that the Device Mapper Multipath services are loaded before the
RaidDevice
State
0
0
active sync
1
1
active sync
2
2
active sync
rescan-scsi-bus.sh
.
/dev/dm-1
, and have symbolic links to their
/dev/disk/by-id
/dev/dm-0
/dev/dm-1
/dev/dm-2
script to scan for the new devices. By default,
--hosts=LIST
Managing Multipath I/O for Devices
directory.
option
71

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 11 storage

Table of Contents