Discovering MDisks using the CLI
You can use the command-line interface (CLI) to discover managed disks (MDisks).
About this task
The clustered system (system) automatically
discovers the back-end controller and integrates the controller to
determine the storage that is presented to the Storwize® V3700 nodes
when back-end controllers are:
- Added to the Fibre Channel
- Included in the same switch zone as a Storwize V3700 system
Note: The automatic discovery completed
by the system does not write anything to an unmanaged MDisk. You must
instruct the system to add an MDisk to a storage
pool or use an MDisk to create an image mode volume.
Discover (and then view) a list of MDisks:
Procedure
Results
You have now seen that the back-end controllers and switches have been set up correctly and that the Storwize V3700 system recognizes the storage that is presented by the back-end controller.
Example
This example describes a scenario where a single back-end controller is presenting eight SCSI LUs to the Storwize V3700 system:
- Issue detectmdisk.
- Issue lsmdiskcandidate.
This output is displayed:
id 0 1 2 3 4 5 6 7
- Issue lsmdisk -delim :
This output is displayed:
lsmdisk -delim : id:name:status:mode:mdisk_grp_id:mdisk_grp_name:capacity:ctrl_LUN_#:controller_name:UID:tier 0:mdisk0:online:unmanaged:::68.4GB:0000000000000000:controller0:20000004cf2422aa000000000000000000000000000000000000000000000000: 1:mdisk1:online:unmanaged:::68.4GB:0000000000000000:controller1:20000004cf1fd19d000000000000000000000000000000000000000000000000: 2:mdisk2:online:unmanaged:::68.4GB:0000000000000000:controller2:20000004cf242531000000000000000000000000000000000000000000000000: