16.3. Example: expand a volume

This section tells how to expand a volume a compatibility volume by 500 MB.

Example 16-2. Expand a volume

Expand the volume /dev/evms/lvm/Sample Container/Sample Region, which is the compatibility volume that was created in the chapter entitled "Creating Volumes," by 500 MB.

16.3.1. Using the EVMS GUI

Follow these steps to expand the volume with the EVMS GUI:

Select
Actions->Expand->Volume...

Select
/dev/evms/lvm/Sample Container/Sample Region
from the list of volumes.

Click Next.

Select lvm/Sample Container/Sample Region from the list as the expand point.

Click Next.

Enter 500MB in the "Additional Size" field.

Click Expand.

Alternatively, you can perform some of the steps to expand the volume with the GUI
context sensitive menu:

From the Volumes tab, right click
/dev/evms/lvm/Sample Container/Sample Region.

Click Expand...

Continue the operation to expand the volume beginning with step 3
of the GUI instructions.

16.3.2. Using Ncurses

Follow these steps to expand a volume with Ncurses:

Select Actions->Expand->Volume.

Select
/dev/evms/lvm/Sample Container/Sample Region from the
list of volumes.

Activate Next.

Select lvm/Sample Container/Sample Region from
the list of expand points.

Activate Next.

Press spacebar on the Additional Size field.

At the "::" prompt enter 500MB.

Press Enter.

Activate Expand.

Alternatively, you can perform some of the steps to shrink the volume with the
context sensitive menu:

From the Volumes view, press Enter on /dev/evms/lvm/Sample Container/Sample Region.

Activate the Expand menu item.

Continue the operation beginning with step 3 of the Ncurses instructions.

16.3.3. Using the CLI

The expand command takes an expand point followed by an optional name
value pair and an expandable object. To find the expand point, use the query command with the Expand Points filter on the object or volume you plan to expand. For example:

query: expand points, "/dev/evms/lvm/Sample Container/Sample Region"

Use a list options filter on the object of the expand point to determine the name-value pair to use, as follows: