Listing MDisks using the CLI

You can use the command-line interface (CLI) to list the MDisks.

Perform the following steps to list the name, status, and mode of an MDisk:

  1. Issue the following CLI command:

    lsmdisk delim :

    The following output is an example of what you might see when you issue the lsmdisk delim : command:

    id:name:status:mode:mdisk_grp_id:mdisk_grp_name:capacity:ctrl_LUN_#:controller_name:UID
    0:mdisk0:online:unmanaged:::68.4GB:0000000000000000:controller0*
    1:mdisk1:online:unmanaged:::68.4GB:0000000000000000:controller1+
    2:mdisk2:online:unmanaged:::68.4GB:0000000000000000:controller2++
    3:mdisk3:online:unmanaged:::68.4GB:0000000000000000:controller3
    4:mdisk4:online:unmanaged:::68.4GB:0000000000000000:controller4#
    5:mdisk5:online:unmanaged:::68.4GB:0000000000000000:controller5** *600a0b80000f4c920000000b3ef6c3d000000000000000000000000000000000 (This number represents the controller_name:UID)
     +0080e52122fa8000000000000000000000000000000000000000000000000000 (This number represents the controller_name:UID)
    ++600a0b80000c5ae4000000093eca105c00000000000000000000000000000000 (This number represents the controller_name:UID)
    0080a0b80000f6432000000043ef6b4ff0000000000000000000000000000000 (This number represents the controller_name:UID)
     #600a0b80000f4c920000000b3ef6c3d000000000000000000000000000000000 (This number represents the controller_name:UID)
    **600a0b80000f6c920000000d3er1a7d000000000000000000000000000000000 (This number represents the controller_name:UID)
  2. View the status column to determine the status of the MDisk. In this example, all the MDisks have a status of online. The following list shows the possible status of an MDisk:
    • Online
    • Offline
    • Excluded
    • Degraded ports
    • Degraded paths
  3. View the mode column to determine the mode of the disk. In this example, the mode is unmanaged. The following list shows possible modes for an MDisk:
    • Managed
    • Unmanaged
    • Image
  4. You can also list more detailed information about an MDisk. For example, issue the lsmdisk delim : 3 command to see detailed information about the MDisk with an ID of 3. The following output is an example of what you might see:
    id:3
    name:mdisk3
    status:offline
    mode:managed
    mdisk_grp_id:3
    mdisk_grp_name:SSD3
    capacity:136.7GB
    quorum_index: 
    block_size:512
    controller_name SSD
    ctrl_type:6
    ctrl_WWNN:5005076801E87502
    controller_id:1
    path_count:0
    max_path_count:0
    ctrl_LUN_#:0000000000000000
    UID:5000a72000008fbb000000000000000000000000000000000000000000000000
    preferred_WWPN:5000A72A00008FBB
    active_WWPN:5000A72A00008FBB
    node_id:10
    node_name:destiny
    location:1
    fast_write_state:empty
    raid_status:online
    raid_level:raid0
    redundancy:0
    strip_size:256
    spare_goal:2
    spare_protection_min:2
    balanced:yes
    tier:generic_ssd
    site_id:3
    site_name:Quorum
    Note: If the selected MDisk is a flash drive, the node ID, node name, and node location attributes contain values.