lsmdiskcandidate

You can use the lsmdiskcandidate command to list all of the unmanaged MDisks.

Syntax

Read syntax diagramSkip visual syntax diagram>>- svcinfo -- -- lsmdiskcandidate -- --+----------+-- --------->
                                        '- -nohdr -'

>--+-----------------------+-----------------------------------><
   '- -delim -- delimiter -'

Parameters

-nohdr
By default, headings are displayed for each column of data (in a concise style view), and each item of data (in a detailed style view). Using the -nohdr parameter will suppress the display of these headings.
Note:Note: If there is no data to be displayed (for example, an empty view has been returned), then headings are not displayed irrespective of whether the -nohdr option was used or not.
-delim delimiter
By default in a concise view, all columns of data are space separated. The width of each column is set to the maximum possible width of each item of data. In a detailed view, each item of data has its own row, and if the headers are displayed the data is separated from the header by a space. Using the -delim parameter will override this behavior. Valid input for the -delim parameter is a one byte character. If, for example, you entered -delim : a colon will be used to separate all items of data in a concise view (for example, the spacing of columns does not occur) and in a detailed view the data is separated from its header by a colon.

Description

This command returns a list of MDisks that are unmanaged. Only the MDisk IDs are returned.

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: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.

Possible failures

Examples

An invocation example

svcinfo lsmdiskcandidate

The resulting output

id               
5                
6                
7                
8                
9                
10               
11               
12               
13               
14   

(C) Copyright International Business Machines Corporation 2003, 2004