[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Commands Reference, Volume 2

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, you must either have root user authority or be a member of the system group.

You can use the Web-based System Manager Volumes application (wsm lvm fast path) to run this command. You could also use the System Management Interface Tool (SMIT) smit extendvg fast path to run this command.

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.3 System Management Concepts: Operating System and Devices explains the Logical Volume Manager, physical volumes, logical volumes, volume groups, organization, ensuring data integrity, and allocation characteristics.

Setting up and running Web-based System Manager in AIX Version 4.3 System Management Guide: Operating System and Devices.

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


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]