redefvg command

Purpose

Redefines the set of physical volumes of the given volume group in the device configuration database.

Syntax

redefvg { -dev Device | -vgid Vgid } VolumeGroup

Description

During normal operations, the device configuration database remains consistent with the Logical Volume Manager (LVM) information in the reserved area on the physical volumes. If inconsistencies occur between the device configuration database and the LVM, the redefvg command determines which physical volumes belong to the specified volume group and enters this information in the device configuration database. The redefvg command checks for inconsistencies by reading the reserved areas of all the configured physical volumes attached to the system.

Flags

Flag name Description
-dev Device The volume group ID, Vgid, is read from the specified physical volume device. You can specify the Vgid of any physical volume belonging to the volume group that you are redefining.
-vgid Vgid The volume group identification number of the volume group to be redefined.

Examples

  1. To synchronize the copies on physical volumes hdisk04, type:
    redefvg -dev hdisk04
  2. To synchronize the copies on volume groups vg04 and vg05, type:
    redefvg -vgid vg04 vg05



Last updated: Wed, November 18, 2020