redefinevg Command

Purpose

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

Syntax

redefinevg { -d Device | -i 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 redefinevg command determines which physical volumes belong to the specified volume group and re-enters this information in the device configuration database. The redefinevg 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

Item Description
-d 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.
-i Vgid The volume group identification number of the volume group to be redefined.

Security

Attention RBAC users and Trusted AIX® users: This command can perform privileged operations. Only privileged users can run privileged operations. For more information about authorizations and privileges, see Privileged Command Database in Security. For a list of privileges and the authorizations associated with this command, see the lssecattr command or the getcmdattr subcommand.

Example

To redefine rootvg physical volumes in the Device Configuration Database, enter a command similar to the following:

redefinevg -d hdisk0 rootvg

Files

Item Description
/usr/sbin/synclvodm Contains the synclvodm command.