6.5. Example: add a segment manager
This section shows how to add
a segment manager with EVMS.
EVMS initially displays the
physical disks it sees as volumes. Assume that you have added a new
disk to the system that EVMS
sees as sde.
This disk contains no data and has not been subdivided
(no partitions). EVMS assumes that this
disk is a compatibility volume known as /dev/evms/sde.
Example 6-1. Add the DOS Segment Manager
Add the DOS Segment Manager to disk sde.
 | NOTE |
|---|
| | In the following example, the DOS Segment
Manager creates two segments on the disk:
a metadata segment known as sde_mbr, and a
segment to represent the available space on
the drive, sde_freespace1. This freespace
segment (sde_freespace1) can be
divided into
other segments because it represents space on
the drive that is not in use. |
6.5.1. Using the EVMS GUI
To add the DOS Segment Manager to sde, first
remove the volume, /dev/evms/sde:
Select ->->.
Select /dev/evms/sde.
Click Delete.
Alternatively, you can remove the volume through the GUI context sensitive menu:
From the , right click /dev/evms/sde.
Click Delete.
After the volume is removed, add the DOS Segment Manager:
Select ->->.
Select DOS Segment Manager.
Click Next.
Select sde
Click Add
6.5.2. Using Ncurses
To add the DOS Segment Manager to sde, first remove the
volume /dev/evms/sde:
Select ->->.
Select /dev/evms/sde.
Activate Delete.
Alternatively, you can remove the volume through the context sensitive menu:
From the Logical Volumes view, press Enter on
/dev/evms/sde.
Activate Delete.
After the volume is removed, add the DOS Segment Manager:
Select ->->
Select DOS Segment Manager.
Activate Next.
Select sde.
Activate Add.
6.5.3. Using the CLI
To add the DOS Segment Manager to sde, first tell EVMS that this disk is not a
volume and is available for use:
Next, add the DOS Segment Manager to sde by typing the following: