Dynamic Multi-Pathing 7.3.1 Administrator's Guide - Linux
- Understanding DMP
- Setting up DMP to manage native devices
- Using Dynamic Multi-Pathing (DMP) devices with Oracle Automatic Storage Management (ASM)
- Administering DMP
- Administering DMP using the vxdmpadm utility
- Gathering and displaying I/O statistics
- Specifying the I/O policy
- Administering disks
- Discovering and configuring newly added disk devices
- About discovering disks and dynamically adding disk arrays
- How to administer the Device Discovery Layer
- Changing the disk device naming scheme
- Dynamic Reconfiguration of devices
- Reconfiguring a LUN online that is under DMP control using the Dynamic Reconfiguration tool
- Manually reconfiguring a LUN online that is under DMP control
- Event monitoring
- Performance monitoring and tuning
- Appendix A. DMP troubleshooting
- Appendix B. Reference
Scanning an operating system device tree after adding or removing LUNs
After you add or remove LUNs, scan the operating system device tree to verify that the operation completed successfully.
Linux provides several methods for rescanning the SCSI bus and identifying the devices mapped to it. These methods include the following:
The SCSI scan function in the /sys directory
HBA vendor utilities
To scan using the SCSI scan function
- Enter the following command:
# echo '- - -' > /sys/class/scsi_host/host$i/scan
where the three dashes refer to the channel, target, and LUN numbers, and host$i is the host bus adapter instance. This example scans every channel, target, and LUN visible via this host bus adapter instance.
To scan using HBA vendor utilities
- Follow the vendor's instructions for the HBA utility. Examples include the following:
QLogic provides a script that dynamically scans for newly-added LUNs. You can download it from the QLogic Web site. To run the script, enter the following command:
# ./ql-dynamic-tgt-lun-disc.sh
Emulex provides an HBAnywhere script. You can download it from the Emulex web site. The script has a LUN Scan Utility that dynamically scans for newly-added LUNs. To run the utility, enter the following command:
# lun_scan all