rmlv Command

Purpose

Removes logical volumes from a volume group.

Syntax

rmlv [ -f ] LogicalVolume ...

Description

The rmlv command removes a logical volume. The LogicalVolume parameter can be a logical volume name or logical volume ID.

Attention: This command destroys all data in the specified logical volumes.

Flags

-f Removes the logical volumes without requesting confirmation.

Exit Status

See Virtual I/O Server command exit status.

Examples

Attention: The following command destroys all data in the logical volumes.
  1. To remove logical volume lv05 without requiring user confirmation, enter the following command:
    rmlv -f lv05
    The logical volume is removed from the volume group.

Related Information

The mklv command, the extendlv command, and the lslv command.


Send feedback |  Rate this page