Removes copies from a logical volume.
rmlvcopy LogicalVolume Copies [ PhysicalVolume ... ]
The rmlvcopy command removes copies from each logical partition in the LogicalVolume. Copies are the physical partitions which, in addition to the original physical partition, make up a logical partition. You can have up to two copies in a logical volume. The Copies parameter determines the maximum number of physical partitions that remain. The LogicalVolume parameter can be a logical volume name or logical volume ID. The PhysicalVolume parameter can be the physical volume name or the physical volume ID. If the PhysicalVolume parameter is used, then only copies from that physical volume will be removed.
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 rmlvcopy fast path to run this command.
To reduce the number of copies of each logical partition belonging to logical volume lv0112, enter:
rmlvcopy lv0112 2
Each logical partition in the logical volume now has at most two physical partitions.
/etc/rmlvcopy | Contains the rmlvcopy command. |
/tmp/* | Directory where the temporary files are stored while the command is running. |
The mklv command, mklvcopy command.
The Logical Volume Storage Overview in AIX Version 4.3 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.
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 Guide: Operating System and Devices explains the structure, main menus, and tasks that are done with SMIT.