cl_lsvg command

Purpose

Displays information about shared volume groups.
Note: Arguments associated with a particular flag must be specified immediately following the flag.

Syntax

cl_lsvg [-cspoc "[-f] [-g ResourceGroup | n- Nodelist ]" [-o] |[-l | -M | -p] Volume Group...INFO HERE

Flags

-cspoc
Argument used to specify one of the

-f - This option has no effect when used with the cl_lsvg command.

-g ResourceGroup - Specifies the name of the resource group whose participating nodes share the volume group. The command executes on these nodes.

-n Nodelist - Runs the command on this list of nodes. If more than one node, separate nodes listed by commas.

-p
Lists the following information for each physical volume within the group specified by the VolumeGroup parameter:

- Physical volume: A physical volume within the group.

- PVstate : State of the physical volume.

- Total PPs : Total number of physical partitions on the physical volume.

- Free PPs : Number of free physical partitions on the physical volume.

- Distribution : The number of physical partitions allocated within each section of the physical volume: outer edge, outer middle, center, inner middle, and inner edge of the physical volume.

-l
Lists the following information for each logical volume within the group specified by the VolumeGroup parameter:

- LV : A logical volume within the volume group.

- Type : Logical volume type.

- LPs : Number of logical partitions in the logical volume.

- PPs: Number of physical partitions used by the logical volume.

- PVs : Number of physical volumes used by the logical volume.

-M
Lists the following fields for each logical volume on the physical volume:

- PVname: PPnum [ LVname : LPnum [: Copynum ] [ PPstate ]]

- PVname : Name of the physical volume as specified by the system.

- PPnum : Physical partition number. Physical partition numbers can range from 1 to 1016.

-o
Lists only the active volume groups (those that are varied on). An active volume group is one that is available for use. Refer to the lsvg command for the information displayed if no flags are specified.

Examples

  1. To display the names of all shared volume groups in the cluster, enter:
    cl_lsvg
    nodeA: testvg
    nodeB: testvg
  2. To display the names of all active shared volume groups in the cluster, enter:
    cl_lsvg -o
    nodeA: testvg
  3. To display information about the shared volume group vg02 , enter:
    cl_lsvg -cspoc testvg