Veritas Volume Manager 5.1 SP1 Administrator"s Guide (5900-1506, April 2011)

# vxdmpadm disable enclosure=HDS9500V0 portid=1A
# vxdmpadm disable pwwn=20:00:00:E0:8B:06:5F:19
You can use the -c option to check if there is only a single active path to the disk.
If so, the disable command fails with an error message unless you use the -f
option to forcibly disable the path.
The disable operation fails if it is issued to a controller that is connected to the
root disk through a single path, and there are no root disk mirrors configured on
alternate paths. If such mirrors exist, the command succeeds.
Enabling I/O for paths, controllers or array ports
Enabling a controller allows a previously disabled path, HBA controller or array
port to accept I/O again. This operation succeeds only if the path, controller or
array port is accessible to the host, and I/O can be performed on it. When
connecting Active/Passive disk arrays, the enable operation results in failback
of I/O to the primary path. The enable operation can also be used to allow I/O to
the controllers on a system board that was previously detached.
Note: From release 5.0 of VxVM, this operation is supported for controllers that
are used to access disk arrays on which cluster-shareable disk groups are
configured.
To enable I/O for a path, use the following command:
# vxdmpadm enable path=path_name
To enable I/O for multiple paths, use the following command:
# vxdmpadm enable path=path_name1,path_name2,path_nameN
To enable I/O for the paths connected to an HBA controller, use the following
command:
# vxdmpadm enable ctlr=ctlr_name
To enable I/O for the paths connected to an array port, use one of the following
commands:
# vxdmpadm enable enclosure=enclr_name portid=array_port_ID
# vxdmpadm [-f] enable pwwn=array_port_WWN
where the array port is specified either by the enclosure name and the array port
ID, or by the array ports worldwide name (WWN) identifier.
Administering Dynamic Multi-Pathing
Administering DMP using vxdmpadm
188