detectmdisk
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.
Syntax
Parameters
- -scope scope_id
- (Optional) Specifies the domain index. The value must be a number from
0to6on non-AWS systems and from0to7on AWS systems. For example, the value0indicates FC and6indicates iSCSI.
Description
This command causes the 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 IBM Spectrum Virtualize 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
IBM Spectrum Virtualize
to update its configuration and
accept the changes to the controller ports.An invocation example
detectmdisk
The resulting output:
No feedbackAn invocation example
detectmdisk -scope 1
The resulting output:
No feedback
