The sequence related to the removal and addition of LUNs is illustrated below:
# /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.
When intentionally removing a LUN from a server, VxVM must be informed prior to any storage activity.
# vxdisk rm <disk-access-name>
The above command informs VxVM that the Veritas disk access (da) name is to be removed from the system. Adding and removing devices must be done at different times and not under the same reconfiguration event. Prior to adding new storage devices, "pre-checks" must be performed to minimize human error.
The enhanced dmpdr tool attempts to make life easier for system and storage administrators, as they no longer require skills in multiple areas.
- The enhanced DMPDR (Dynamic Reconfiguration) tool has been enhanced and now includes a non-interactive interface to aid the complex LUN reconfiguration process
- The DMPDR tool attempts to automate and perform the correct sequence of events on the host in the effort to reduce human error without the need for manual intervention
- The DMPDR tool will try to auto-correct mistakes and refresh the different components in the I/O stack
- The DMPDR tool will clean-up the OS device handles beneath the underlying DMP managed device and refresh VxVM and DMP
LUN Reconfiguration Process
The original LUN removal multi-step process has been replaced with 3 steps:
1. vxdisk rm <Veritas-disk-access-name>
2. Storage Array LUN removal commands and activity
3. /usr/lib/vxvm/voladm.d/bin/dmpdr -o refresh
The original LUN addition multi-step process has been replaced with 2 steps:
1. Storage Array LUN removal commands/activity
2. /usr/lib/vxvm/voladm.d/bin/dmpdr -o refresh
Note: The dmpdr script will create a log file under /var/adm/vx/ for each LUN reconfiguration event.
The enhanced dmpdr tool functionality is generally available with Veritas Volume Manager Public Patch 18.104.22.1680 on sort.veritas.com.
SOLARIS: LUN Removal Reconfiguration Guidelines
SOLARIS: LUN Addition Reconfiguration Guidelines
SOLARIS: Path Removal Reconfiguration Guidelines
SOLARIS: Path Addition Reconfiguration Guidelines
SOLARIS: How to convert the cfgadm failing state to the intended unusable state
LDOM: How to remove a Virtual disk presented to a Solaris GUEST domain
LDOM: How to remove a disk from a Solaris service I/O domain
LDOM: How to provision a disk to a Solaris service I/O domain
Related Knowledge Base Articles
Was this content helpful?
Rating submitted. Please provide additional feedback (optional):