Problem
When adding new disks to a InfoScale configuration, separate scans are required by the operating system (OS) and by the InfoScale application. This article provides information about the commands and procedures that may be used to scan for disks.
Solution
Since the writing of this article, Veritas dynamic multipathing environments benefit from the "dmpdr" utility
When adding and removing physical LUNs that are connected to a server, it is necessary to run many steps. To reduce the complexity surrounding the multi-step Dynamic LUN reconfiguration process, Veritas has created a new non-interactive interface to aid the provisioning and removal of devices.
# /usr/lib/vxvm/voladm.d/bin/dmpdr -o refresh
The new enhanced dmpdr tool will only work in connection with Veritas DMP (Dynamic Multi-Pathing). Third-party multi-pathing drivers ( such as MPxIO and EMC PowerPath ) are not supported and will not work with the new interface.
Refer to article for more details:
https://www.veritas.com/support/en_US/article.100039198
Table 1 - Commands that are used by InfoScale to update itself with information about devices that are visible to the OS
Command | Description |
vxdisk scandisks | Refreshes the DMP device tree with information drawn from the current system device listings, updating devices that have changed and registering new, previously undiscovered devices. Note: This command does not replace the need to scan for devices using the commands that are provided by the OS. |
vxdctl <-f> enable |
|
Table 2: Procedures that can be used to scan for new devices, organized by platform
Note: Most of the commands below are not Veritas commands and may vary depending on the version of the platform. This table is provided as a convenience and should not be regarded as authoritative. Review the official documentation from the vendors of the respective platforms to confirm the correct usage of these commands.
Platform | Procedure |
AIX | 1. cfgmgr -v 2. vxdctl -f enable |
HP-UX | 1. ioscan -fnC disk 2. insf -C disk 3. vxdctl -f enable |
Linux | 1. /usr/bin/rescan-scsi-bus.sh 2. vxdctl -f enable |
Solaris | 1. cfgadm -c configure <controller> 2. devfsadm -Cv 3. vxdctl -f enable |