Disabling I/O through a path, HBA controller, array port, or Dynamic Multi-Pathing (DMP) node prevents DMP from issuing I/O requests through the specified path, or the paths that are connected to the specified controller, array port, or DMP node. If the specified paths have pending I/Os, the vxdmpadm disable command waits until the I/Os are completed before disabling the paths.
DMP does not support the operation to disable I/O for the controllers that use Third-Party Drivers (TPD) for multi-pathing.
# vxdmpadm [-c|-f] disable path=path_name1[,path_name2,path_nameN]
To disable I/O for the paths connected to one or more HBA controllers, use the following command:
# vxdmpadm [-c|-f] disable ctlr=ctlr_name1[,ctlr_name2,ctlr_nameN]
To disable I/O for the paths connected to an array port, use one of the following commands:
# vxdmpadm [-c|-f] disable enclosure=enclr_name portid=array_port_ID # vxdmpadm [-c|-f] disable pwwn=array_port_WWN
where the array port is specified either by the enclosure name and the array port ID, or by the array port's worldwide name (WWN) identifier.
The following examples show how to disable I/O on an array port:
# vxdmpadm disable enclosure=HDS9500V0 portid=1A # vxdmpadm disable pwwn=20:00:00:E0:8B:06:5F:19
To disable I/O for a particular path, specify both the controller and the portID, which represent the two ends of the fabric:
# vxdmpadm [-c|-f] disable ctlr=ctlr_name enclosure=enclr_name \ portid=array_port_ID
To disable I/O for a particular DMP node, specify the DMP node name.
# vxdmpadm [-c|-f] disable dmpnodename=dmpnode
You can use the -c option to check if there is only a single active path to the disk.
The last path disable operation fails without -f option irrespective whether the device is in use or not.
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. The disable operation fails if it is issued to a controller that is connected to the swap device through a single path.