Monday, April 17, 2006

How to extend rootvg on aix

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 rootvg hdisk3 hdisk8

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

Files
/usr/sbin/extendvg Contains the extendvg command.

2 comments:

Ums said...

This serves the purpose..
Thanks a lot for the details information about how to extend the vg in AIX.

Anonymous said...

If you always write interesting, I will be your regular reader. skin care Read a useful article about tramadol tramadol