This section tells how to create a region with EVMS by
providing instructions to help you complete the following task.
Example 9-1. Create "Sample Region"
Given the container "Sample Container," which has a freespace region of
8799 MB, create a data region 1000 MB in size named "Sample Region."
9.2.1. Using the EVMS GUI
To create a region, follow these steps:
Select
Actions->Create->Region
Select
the LVM Region
Manager. Click Next.
NOTE
You might
see additional region managers that were
not in the selection list when you were creating the storage container
because not all region
managers are required to support containers.
Select the freespace region from
the container you created in
Chapter 8.
Verify that the region is named
lvm/Sample Container/Freespace.
Click Next.
The fields in the next window are the options for the
LVM Region Manager plug-in, the options marked with an "*" are required.
Fill in the name, Sample Region.
Enter 1000MB in the size field.
Click the
Create button to complete the
operation. A window opens to display the outcome.
Alternatively, you can perform some of the steps for creating a region with the GUI context sensitive menu:
From the Regions tab, right click
lvm/Sample Container/Freespace.
Click Create Region.
Continue beginning with step 4 of the GUI instructions.
9.2.2. Using Ncurses
To create a region, follow these steps:
Select
Actions->Create->Region.
Select the
LVM Region
Manager. Activate Next.
Select the freespace
region from the container you created
earlier in Chapter 8. Verify that
the region is named
lvm/Sample Container/Freespace.
Scroll to the Name field, and press
spacebar.
Type Sample Region at the "::" prompt.
Press Enter.
Scroll to the size field,
and press spacebar.
Type 1000MB at the "::" prompt.
Press Enter.
Activate Create.
Alternatively, you can perform some of the steps for creating a region with the
context sensitive menu:
From the Storage Regions view, press Enter on
lvm/Sample Container/Freespace.
Activate the Create Region menu item.
Continue beginning with step 4 of the Ncurses instructions.
9.2.3. Using the CLI
Create regions with the Create
command. Arguments to the Create command are
the following: keyword Region, the name of the
region manager to use, the region managers
options, and the objects to consume. The form of this command is:
The LVM Region Manager supports many
options for creating regions. To see the
available options for creating regions and
containers, use the following Query: