The Dynamic Multipathing (DMP) feature of VxVM supports partial device discovery where you can include or exclude sets of disks or disks attached to controllers from the discovery process.
scandisks command rescans the devices in the OS device tree and triggers a DMP reconfiguration. You can specify parameters to
scandisks to implement partial device discovery. For example, this command makes VxVM discover newly added devices that were unknown to it earlier:
vxdisk scandisks new
The next example discovers fabric devices:
vxdisk scandisks fabric
The following command scans for the devices
vxdisk scandisks device=sdm,sdn
Alternatively, you can specify a ! prefix character to indicate that you want to scan for all devices except those that are listed:
vxdisk scandisks \!device=sdm,sdn
It is necessary to quote the
! character in some shells, such as the
You can also scan for devices that are connected (or not connected) to a list of logical or physical controllers. For example, this command discovers and configures all devices except those that are connected to the specified logical controllers:
vxdisk scandisks \!ctlr=c1,c2
The next command discovers devices that are connected to the specified physical controller:
vxdisk scandisks pctlr=c1+c2
The items in a list of physical controllers are separated by
You can use the command
all to obtain a list of physical controllers.
You may specify only one selection argument to the
scandisks command. Specifying multiple options results in an error.
vxdisk(1M) manual page.