This section provides a detailed explanation of how to create a segment with EVMS by providing instructions to help you complete the following task:
To create a segment using the GUI, follow the steps below:
Select
-> -> to see a list of segment manager plug-ins.Select
. Click .The next dialog window lists the free space storage objects suitable for creating a new segment.
Select sde_freespace1. Click
.The last dialog window presents the free space object you selected as well as the available configuration options for that object.
Enter 100 MB. Required fields are denoted by the "*" in front of the field description. The DOS Segment Manager provides default values, but you might want to change some of these values.
After you have filled in information for all the required fields, the
button becomes available.Click
. A window opens to display the outcome.Alternatively, you can perform some of the steps to create a segment from the GUI context sensitive menu:
From the
tab, right click on sde_freespace1.Click
Continue beginning with step 4 of the GUI instructions.
To create a segment using Ncurses, follow these steps:
Select
-> -> to see a list of segment manager plug-ins.Select
. Activate .The next dialog window lists free space storage objects suitable for creating a new segment.
Select sde_freespace1. Activate Next.
Highlight the size field and press spacebar.
At the "::" prompt enter 100MB. Press Enter.
After all required values have been completed, the
button becomes available.Activate
.Alternatively, you can perform some of the steps to create a segment from the context sensitive menu:
From the Segments view, press Enter on sde_freespace1.
Activate
.Continue beginning with step 4 of the Ncurses instructions.
To create a data segment from a freespace segment, use the Create command. The arguments the Create command accepts vary depending on what is being created. The first argument to the Create command indicates what is to be created, which in the above example is a segment. The remaining arguments are the freespace segment to allocate from and a list of options to pass to the segment manager. The command to accomplish this is:
Create: Segment,sde_freespace1, size=100MB |
NOTE | |
---|---|
The Allocate command also works to create a segment. |
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=DosSegMgr,list options |