|
|
8.2. Example: create a containerThis 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 GUITo create a container using the EVMS GUI, follow these steps:
Select
->->
to see a list plug-ins that support container creation. Select the
. 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 NcursesTo create a container using the Ncurses interface, follow these
steps:
Select ->->
to see a list of plug-ins that support container creation. Select the
. 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 CLIThe 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: Create:Container,LvmRegMgr={name="Sample Container",pe_size=16MB},sdc,sdd,hdc
|
The previous example accepts the default values for all options
you don't specify. To see the options for this command type:
query:plugins,plugin=LvmRegMgr,list options |
|