Reorganizes the physical partition allocation for a volume group.
reorgvg [ -i ] VolumeGroup [ LogicalVolume ... ]
Attention: This command is not allowed if the volume group is varied on in concurrent mode.
The reorgvg command reorganizes the placement of allocated physical partitions within the VolumeGroup, according to the allocation characteristics of each logical volume. Use the LogicalVolume parameter to reorganize specific logical volumes; highest priority is given to the first logical volume name in the LogicalVolume parameter list and lowest priority is given to the last logical volume in the parameter list. The volume group must be varied on and must have free partitions before you can use the reorgvg command.
The relocatable flag of each logical volume must be set to y with the chlv -r command for the reorganization to take effect; otherwise, the logical volume is ignored.
If you enter the reorgvg command with the volume group name and no other arguments, the entire volume group is reorganized.
You can use the Volumes application in Web-based System Manager (wsm) to change volume characteristics.
You could also use the System Management Interface Tool (SMIT) smit reorgvg fast path to run this command.
-i | Specifies physical volume names read from standard input. Only the partitions on these physical volumes are organized. |
reorgvg vg02 lv03 lv04 lv07
Only the listed logical volumes are reorganized on vg02.
echo "hdisk04 hdisk06" | reorgvg -i vg02 lv203 lv205
The partitions located on physical volumes hdisk04 and hdisk06 of volume group vg02, that belong to logical volumes lv203 and lv205, are reorganized.
/etc | Directory where the reorgvg command resides. |
/tmp | Directory where the temporary files are stored while the command is running. |
The chlv command, lslv command, mklv command.
The Logical Volume Storage Overview in the AIX 5L Version 5.2 System Management Concepts: Operating System and Devices.
For information on installing the Web-based System Manager, see Chapter 2: Installation and System Requirements in AIX 5L Version 5.2 Web-based System Manager Administration Guide.
The System Management Interface Tool in AIX 5L Version 5.2 System Management Concepts: Operating System and Devices.
Monitoring and Tuning Disk I/O Use in AIX 5L Version 5.2 Performance Management Guide.