extendlv command

Purpose

Increases the size of a logical volume.

Syntax

extendlv LogicalVolume Size [ PhysicalVolume ... ]

Description

The extendlv command increases the size of the logical volume. The LogicalVolume parameter can be a logical volume name or a logical volume ID. To limit the allocation to specific physical volumes, use the names of one or more physical volumes in the PhysicalVolume parameter; otherwise, all the physical volumes in a volume group are available for allocating new physical partitions.

The Size parameter specifies the minimum size the logical volume should be increased by. When specifying Size the following conventions must be used:
Size Logical volume size
###M/m ### MB
###G/g ### GB

Examples

  1. To increase the size of the logical volume lv05 by three megabytes, type:
    extendlv lv05 3M
  2. To request a logical volume named lv05 with a minimum size of 10MB, type:
    extendlv lv05 10M
    The extendlv command will determine the number of partitions needed to create a logical volume of at least that size.



Last updated: Wed, November 18, 2020