extendvg

extendvg Command



Purpose

Adds physical volumes to a volume group.

Syntax

extendvg [ -f ] VolumeGroup PhysicalVolume ...

Description

The extendvg command increases the size of the VolumeGroup by adding
one or more PhysicalVolumes.

The physical volume is checked to verify that it is not already in
another volume group. If the system believes the physical volume belongs
to a volume group that is varied on, it exits. But if the system detects
a description area from a volume group that is not varied on, it prompts
the user for confirmation in continuing with the command. The previous
contents of the physical volume are lost, so the user must be cautious
when using the override function.

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

You can use the System Management Interface Tool (SMIT) to run this
command. To use SMIT, enter:

smit extendvg

Flags

-f	Forces the physical volume to be added to the specified volume
group unless it is a member of another volume group in the Device
Configuration Database or of a volume group that is active.

Examples

To add physical volumes hdisk3 and hdisk8 to volume group vg3, enter:

extendvg vg3 hdisk3 hdisk8

Note:	The volume group must be varied on before extending.

Files

/usr/sbin/extendvg	Contains the extendvg command.

Related Information

The reducevg command.

The Logical Volume Storage Overview in AIX Version 4 System Management
Guide: Operating System and Devices explains the Logical Volume Manager,
physical volumes, logical volumes, volume groups, organization, ensuring
data integrity, and allocation characteristics.

The System Management Interface Tool (SMIT): Overview in AIX Version
4 System Management Guide: Operating System and Devices explains the
structure, main menus, and tasks that are done with SMIT.