Determining the relationship between volume and MDisks using the CLI

You can determine the relationship between volumes and managed disks (MDisks) using the command-line interface (CLI).

About this task

Select one or more of the following options to determine the relationship between volumes and MDisks:

Procedure

  • To display a list of the IDs that correspond to the MDisks that comprise the volume, issue the following CLI command:
    lsvdiskmember vdiskname/id

    where vdiskname/id is the name or ID of the volume.

  • To display a list of IDs that correspond to the volumes that are using this MDisk, issue the following CLI command:
    lsmdiskmember mdiskname/id

    where mdiskname/id is the name or ID of the MDisk.

  • To display a table of volume IDs and the corresponding number of extents that are being used by each volume, issue the following CLI command:
    lsmdiskextent mdiskname/id

    where mdiskname/id is the name or ID of the MDisk.

  • To display a table of MDisk IDs and the corresponding number of extents that each MDisk provides as storage for the specified volume, issue the following CLI command:
    lsvdiskextent vdiskname/id

    where vdiskname/id is the name or ID of the volume.