This command causes the cluster to rescan the fibre-channel network and looks for managed disks that have not been seen before. This command also detects if a controller is being decommissioned.
In general, the cluster detects these disks automatically when they appear on the network. However, some fibre-channel controllers do not send the required SCSI primitives that are necessary to automatically discover the new disks.
If you have attached some new storage and the cluster has not detected it, you might need to run this command before the cluster will detect the new disks.
No parameters are required.
When back-end controllers are added to the fibre-channel SAN and are included in the same switch zone as a SAN Volume Controller Cluster the cluster will automatically discover the back-end controller and will integrate the controller to determine what storage it is presented to the SAN Volume Controller. The SCSI LUs presented by the back-end controller will be displayed as unmanaged MDisks. If however the configuration of the back-end controller is modified after this has occurred then the SAN Volume Controller may be unaware of these configuration changes. This task allows a user to request the SAN Volume Controller to re-scan the fibre-channel SAN to update the list of unmanaged MDisks.
| Note: The automatic discovery performed by SAN Volume Controller does not write anything to a unmanaged MDisk. It is only when a the user instructs the SAN Volume Controller to add a MDisk to a managed disk group or use a MDisk to create an image mode virtual disk that the storage will actually be used. |
Discovering MDisks: Check to see which MDisks are available by issuing the svctask detectmdisk command to manually scan the fibre-channel network for any MDisks. Issue the svcinfo lsmdiskcandidate command to show the unmanaged MDisks. These MDisks have not been assigned to an MDisk group. Alternatively, you can issue the svcinfo lsmdisk command to view all of the MDisks.
An invocation example
svctask detectmdisk
The resulting output
No feedback