The detectmdisk command allows you to manually rescan the fibre-channel network for any new managed disks (MDisks) that might have been added and to rebalance MDisk access across all available controller device ports.
This command causes the cluster to rescan the fibre-channel network. The rescan discovers any new MDisks that have been added to the cluster and rebalances MDisk access across the available controller device ports. This command also detects any loss of controller port availability, and updates the SAN Volume Controller configuration to reflect any changes.
In general, the cluster automatically detects disks 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 new storage and the cluster has not detected it, you might need to run this command before the cluster detects the new disks.
To identify the available MDisks, issue the svctask detectmdisk command to scan the fibre-channel network for any MDisks. When the detection is complete, 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.
1630 Number of device logins reducedIf the error persists and redundancy has been compromised, the following more serious error is reported:
1627 Insufficient redundancy in disk controller connectivityYou must issue the svctask detectmdisk command to force SAN Volume Controller to update its configuration and accept the changes to the controller ports.
An invocation example
svctask detectmdisk
The resulting output
No feedback