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.
To create a container using the EVMS GUI, follow these steps:
Select
→ → to see a list plug-ins that support container creation.Select the
. Click .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 .
Enter the name Sample Container
for the container and 16MB
in the
PE size field.
Click
. A window opens to display the outcome.
To create a container using the Ncurses interface, follow these steps:
Select
→ → to see a list of plug-ins that support container creation.Select the Next.
. ActivateThe 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 .
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
.Activate
.
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:
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