This section provides a detailed explanation of how to create a container with EVMS by providing instructions
to help you complete the following task.
Example 8-1. Create "Sample Container"
Given a system with three available disk drives
(sdc, sdd, hdc),
use the EVMS LVM Region Manager to combine these disk drives into a
container called "Sample Container" with a PE size of 16 MB.
8.2.1. Using the EVMS GUI
To create a container using the EVMS GUI, follow these steps:
Select
Actions->Create->Container
to see a list plug-ins that support container creation.
Select the
LVM Region Manager. Click
Next.
The next dialog window contains a list of storage objects
that the LVM Region Manager can use to create a container.
Select sdc, sdd, and
hdc from the list. Click
Next.
Enter the name Sample Container
for the container and 16MB in the
PE size field.
Click
Create.
A window opens to display the
outcome.
8.2.2. Using Ncurses
To create a container using the Ncurses interface, follow these
steps:
Select Actions->Create->Container
to see a list of plug-ins that support container creation.
Select the
LVM Region Manager. Activate
Next.
The next dialog window contains a list
of storage objects that the LVM Region Manager can use to
create the container.
Select sdc, sdd, and
hdc from the list. Activate
Next.
Press spacebar to select the field for
the container name.
Type Sample Container at the "::" prompt. Press
Enter.
Scroll down until PE Size is highlighted.
Press spacebar.
Scroll down until 16MB is highlighted.
Press spacebar.
Activate OK.
Activate Create.
8.2.3. Using the CLI
The Create command
creates containers. The first argument
in the Create command is the type of object to
produce, in this case a container. The
Create command then accepts
the following arguments: the region manager to
use along with any parameters it might need, and
the segments or disks to create the container
from. The command to complete the previous example is: