Use the detectmdisk command to manually rescan the Internet Small Computer Systems Interface (iSCSI) or Fibre Channel (FC) 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 clusterd system (system) to rescan the FC or iSCSI network. The rescan discovers any new MDisks that have been added to the system and rebalances MDisk access across the available controller device ports. This command also detects any loss of controller port availability, and updates the Lenovo Storage V series configuration to reflect any changes.
In general, the system automatically detects disks when they appear on the network. However, some FC 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 system has not detected it, you might need to run this command before the system detects the new disks.
To identify the available MDisks, issue the detectmdisk command to scan the FC or iSCSI network for any MDisks. When the detection is complete, issue the lsmdiskcandidate command to show the unmanaged MDisks; these MDisks have not been assigned to a storage pool. Alternatively, you can issue the 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 detectmdisk command to force the Lenovo Storage V series to update its configuration and accept the changes to the controller ports.
detectmdisk
The resulting output:
No feedback
detectmdisk -scope 1
The resulting output:
No feedback