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.

Note:
To use this command, you must either have root user authority or be a member of the system group.

Flags

-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.

Exit Status

See Virtual I/O Server command exit status.

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

Related Information

The mkvg command, the syncvg command, the chvg command, the extendvg command, the lsvg command, the mirrorios command, the unmirrorios command, the activatevg command, the deactivatevg command, the importvg command, the exportvg command, and the reducevg command.


Send feedback |  Rate this page