lsmp Command

Purpose

Displays mirror pool information.

Syntax

lsmp [-L] [-A] [-n descriptorphysicalvolume] [-m mirrorpoolname] vgname

Description

The lsmp command displays mirror pool information for a volume group.

Note: The volume group must be varied on to list the mirror pool information. If the volume group is varied off, you must specify the source disk name using the -n flag to list the information.

Flags

Item Description
-A Displays information specific to asynchronous mirroring, if it exists.
-L Specifies no waiting to obtain a lock on the volume group.
Note: If the volume group is being changed, using the -L flag gives unreliable data.
-m mirrorpoolname Displays mirror pool information only for the mirror pool that is specified by the mirrorpoolname parameter. If you do not specify the flag, information for all mirror pools that belong to the volume group is displayed.
-n descriptorphysicalvolume Accesses information from the descriptor area that is specified by the descriptorphysicalvolume variable. The information might not be current because the information accessed with the -n flag has not been validated for the logical volumes. If you do not use the -n flag, the descriptor area from the physical volume that holds the validated information is accessed, and therefore the current information is displayed. The volume group does not need to be active when you use the -n flag.

Parameters

Item Description
vgname Specifies the volume group name.

Examples

  1. To display all mirror pool information for a volume group, enter the following command:
    lsmp vg1
    The following output is displayed:
    VOLUME GROUP:      vg1                  Mirror Pool Super Strict: no
    
    MIRROR POOL:       mp1                  Mirroring Mode:    SYNC
    MIRROR POOL:       mp2                  Mirroring Mode:    SYNC
  2. To display all mirror pool information for a volume group and include asynchronous mirroring information in the output, enter the following command:
    lsmp -A glvm_vg
    The following output is displayed:
    VOLUME GROUP:      glvm_vg              Mirror Pool Super Strict: yes
    
    MIRROR POOL:       mp_bvr               Mirroring Mode:    ASYNC
    ASYNC MIRROR STATE:  inactive           ASYNC CACHE LV:      mp_pok_lv
    ASYNC CACHE VALID:   yes                ASYNC CACHE EMPTY:   yes
    ASYNC CACHE HWM:     60                 ASYNC DATA DIVERGED: no
    
    MIRROR POOL:       mp_pok               Mirroring Mode:    ASYNC
    ASYNC MIRROR STATE:  active             ASYNC CACHE LV:      bvr_pok_lv
    ASYNC CACHE VALID:   yes                ASYNC CACHE EMPTY:   no
    ASYNC CACHE HWM:     90                 ASYNC DATA DIVERGED: no
  3. To display information for the mirror pool mp_pok from the glvm_vg volume group and include asynchronous mirroring information in the output, enter the following command:
    lsmp -A –m mp_pok glvm_vg
    The following output is displayed:
    VOLUME GROUP:      glvm_vg              Mirror Pool Super Strict: yes
    
    MIRROR POOL:       mp_pok               Mirroring Mode:    ASYNC
    ASYNC MIRROR STATE:  active             ASYNC CACHE LV:      bvr_pok_lv
    ASYNC CACHE VALID:   yes                ASYNC CACHE EMPTY:   no
    ASYNC CACHE HWM:     90                 ASYNC DATA DIVERGED: no