Partial device discovery

Dynamic Multi-Pathing (DMP) supports partial device discovery where you can include or exclude paths to a physical disk from the discovery process.

The vxdisk scandisks command rescans the devices in the OS device tree and triggers a DMP reconfiguration. You can specify parameters to vxdisk scandisks to implement partial device discovery. For example, this command makes SF discover newly added devices that were unknown to it earlier:

# vxdisk scandisks new

The next example discovers fabric devices:

# vxdisk scandisks fabric

The above command discovers devices with the characteristic DDI_NT_FABRIC property set on them.

The following command scans for the devices c1t1d0 and c2t2d0:

# vxdisk scandisks device=c1t1d0,c2t2d0

Alternatively, you can specify a ! prefix character to indicate that you want to scan for all devices except those that are listed.

Note:

The ! character is a special character in some shells. The following examples show how to escape it in a bash shell.

# vxdisk scandisks \!device=c1t1d0,c2t2d0

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=/pci@1f,4000/scsi@3/

The items in a list of physical controllers are separated by + characters.

You can use the command vxdmpadm getctlr all to obtain a list of physical controllers.

You should specify only one selection argument to the vxdisk scandisks command. Specifying multiple options results in an error.

See the vxdisk(1M) manual page.