rmlvcopy command

Purpose

Removes a copy of a logical volume.

Syntax

rmlvcopy LogicalVolume [ PhysicalVolume ... ]

Description

The rmlvcopy command removes one of the copies (disabling mirroring) of the logical volume. 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 the copy from that physical volume will be removed.

Note: If the LVM (Logical Volume Manager) has not recognized that a disk has failed, it is possible that the LVM will remove a different mirror. Therefore, if you know that a disk has failed and the LVM does not show those disks as missing, you should specify the failed disks on the command line.

Examples

To remove mirroring from the logical volume lv0112, type:
rmlvcopy lv0112



Last updated: Wed, November 18, 2020