The EVMS user interfaces offer the ability to activate or deactivate a particular volume or object. The volume or object will be activated or deactivated when the changes are saved.
You can activate inactive volumes and objects using the various EVMS user interfaces.
EVMS does not currently update the EVMS configuration file
(/etc/evms.conf
) when volumes and objects are
activated. If you activate a volume or object that is not initially
activated and do not make the corresponding change in
/etc/evms.conf
, the volume or object will not be
activated the next time the system is booted and you run
evms_activate or one of the user interfaces.
To activate volumes or objects with the GUI, follow these steps:
Select
→ →Select the volume(s) and object(s) you want to activate.
Click
.Click
to save the changes and activate the volume(s) and object(s).
To activate with the GUI context-sensitive menu, follow these steps:
Right click the volume or object you want to activate.
Click "Activate."
Click
.Click
to save the changes and activate the volume(s) and object(s).
To activate a volume or object with Ncurses, follow these steps:
Select
→ →Select the volume(s) and object(s) you want to activate.
Select
.Select
→ to save the changes and activate the volume(s) and object(s).
To enable activation on a volume or object with the Ncurses context-sensitive menu, follow these steps:
Highlight the volume or object you want to activate and press Enter.
Select "Activate."
Select
.Select
→ to save the changes and activate the volume(s) and object(s).
You can deactivate active volumes and objects using the various EVMS user interfaces.
EVMS does not currently update the EVMS configuration file
(/etc/evms.conf
) when a volume or object is
deactivated.
If you deactivate a volume or object that is initially activated and
do not make the corresponding change in /etc/evms.conf
,
then the volume or object will be activated the next time you run
evms_activate or one of the user interfaces.
To deactivate a volume or object with the GUI, follow these steps:
Select
→ →Select the volume(s) and object(s) you want to deactivate.
Click
.Click
to save the changes and activate the volume(s) and object(s).
To deactivate a volume or object with the GUI context-sensitive menu, follow these steps:
Right click the volume or object you want to deactivate.
Click "Deactivate."
Click
.Click
to save the changes and activate the volume(s) and object(s).
To deactive a volume or object with Ncurses, follow these steps:
Select
→ →Select the volume(s) and object(s) you want to deactivate.
Select
.Select
→ to save the changes and deactivate the volume(s) and object(s).
To deactivate a volume or object with the Ncurses context-sensitive menu, follow these steps:
Highlight the volume or object you want to deactivate and press Enter.
Select "Deactivate."
Select
.Select
→ to save the changes and deactivate the volume(s) and object(s).
In order for a volume or object to be active, all of its children must be active. When you activate a volume or object, EVMS will activate all the objects that the volume or object comprises.
Similarly, in order for an object to be inactive, all of its parents cannot be activate. When you deactivate an object, EVMS will deactivate all of the objects and volumes that are built from that object.
As discussed in Section 1, “Initial activation using /etc/evms.conf”,
when EVMS starts, it builds an initial list of
volumes and objects whose names match the "include" entry in the
activation section of /etc/evms.conf
. Because those
volumes and objects cannot be active unless the objects they comprise are
active, EVMS then adds to the list all the objects that are comprised by
the volumes and objects that were found in the initial match.
EVMS then removes from the list the volumes and objects whose names
match the "exclude" entry in the activation section of
/etc/evms.conf
. Because any volumes or objects
that are built from the excluded ones cannot be active, EVMS removes
them from the list as well.
The enforcement of the dependencies can result in behavior that is not
immediately apparent.
Let's say, for example, that segment hda7 is made into volume
/dev/evms/home
. and the activation section in
/etc/evms.conf
looks like this:
activate { include = [*] exclude = [hda*] }
When EVMS builds the list of volumes and objects to activate,
everything is included. EVMS next removes all objects whose names
start with "hda." hda7 will be removed from the list.
Next, because volume /dev/evms/home
is built
from hda7, it will also be removed from the list and will not be
activated.
So, although volume /dev/evms/home
is not
explicitly in the exclude list, it is not activated because it
depends on an object that will not be activated.
Compatibility volumes are made directly from the volume's object. That is, the device node for the volume points directly to the device for the volume's object. Because a compatibility volume is inseparable from its object, a compatibility volume itself cannot be deactivated. To deactivate a compatibility volume you must deactivate the volume's object.
Similarly, if a compatibility volume and its object are not active and you activate the volume's object, the compatibility volume will be active as well.