Disabling I/O for paths, controllers or array ports
Disabling I/O through a path, HBA controller or array port prevents DMP from issuing I/O requests through the specified path, or the paths that are connected to the specified controller or array port. The command blocks until all pending I/O requests issued through the paths are completed.
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 disable I/O for a path, use the following command:
# vxdmpadm [-c|-f] disable path=path_name
To disable I/O for multiple paths, use the following command:
# vxdmpadm [-c|-f] disable path=path_name1,path_name2,path_nameN
To disable I/O for the paths connected to an HBA controller, use the following command:
# vxdmpadm [-c|-f] disable ctlr=ctlr_name
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 are examples of using the command 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
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.