How to add and remove physical LUNs connected to a server: SOLARIS SPARC

How to add and remove physical LUNs connected to a server: SOLARIS SPARC

Article: 100039198
Last Published: 2019-04-03
Ratings: 91 0
Product(s): InfoScale & Storage Foundation


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.

The sequence related to the removal and addition of LUNs is illustrated below:

Figure 1.0

Solaris DR LUN overview


New Interface

# /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.


Dmpdr Tool

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


Figure 2.0

Solaris DR removal 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 on




Related Articles

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

Was this content helpful?