Reorganizes the physical partition allocation for a volume group.
reorgvg [ -i ] VolumeGroup [ LogicalVolume ... ]
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.
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.
Item | Description |
---|---|
-i | Specifies physical volume names read from standard input. Only the partitions on these physical volumes are organized. |
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.
reorgvg vg02 lv03 lv04 lv07
Only the listed
logical volumes are reorganized on vg02.echo "hdisk4 hdisk6" | reorgvg -i vg02 lv203 lv205
The
partitions located on physical volumes hdisk4 and hdisk6 of
volume group vg02, that belong to logical volumes lv203 and lv205,
are reorganized.Item | Description |
---|---|
/usr/sbin/reorgvg | Directory where the reorgvg command resides. |
/tmp | Directory where the temporary files are stored while the command is running. |