Enterprise Volume Management System

Home

Project Page

Mailing Lists

IRC Channel

Documentation

Screen Shots

Downloads

Related Projects

Hosted By:
SourceForge Logo

Activating Your EVMS Volumes

In the previous EVMS design (releases 1.2.1 and earlier), volume discovery was performed in the kernel, and all volumes were immediately activated at boot time. With the new EVMS design, volume discovery is performed in user-space, and volumes are activated by communicating with the kernel. Thus, in order to activate your volumes, you must open one of the EVMS user-interfaces and perform a save, which will activate all inactive volumes.

  • For instance, start the GUI by running evmsgui. You should see all empty checkboxes in the "Active" column. Press the "Save" button, which will activate all of the volumes, and each of those checkboxes should then be filled in.

In addition to manually starting one of the EVMS UIs, there is a utility called evms_activate. This utility simply opens the EVMS engine and issues a commit command. You should add a call to evms_activate to your boot scripts in order to automatically activate your volumes at boot time. If you have volumes listed in your /etc/fstab file, you will need to call evms_activate before the fstab file is processed.

NOTE: As mentioned in the previous section, EVMS requires /proc (and /sys on 2.6 kernels) to be mounted before the tools will run correctly. If you run evms_activate before processing the fstab file, you may need to manually mount and unmount /proc (and /sys for 2.6) around the call to evms_activate.

EVMS also provides a sample SysV init script for activating the EVMS volumes for use on Linux distributions that use SysV init scripts at boot time (most of the major distros do). This sample script is called init.d_evms and can be found in the doc directory in the EVMS source package. You should copy this file to the appropriate directory for your distro (probably /etc/init.d or /etc/rc.d/init.d), and rename it evms. Then create a symbolic link in the appropriate run-level subdirectory, so this script is automatically run at boot time.

  • For example, on a United-Linux-based distro (like SuSE), you might run the following commands.

    cd /usr/src/evms-2.5.5/doc/
    cp init.d_evms /etc/init.d/evms
    cd /etc/init.d/boot.d/
    ln -s ../evms S03evms
    

Once the volumes are activated, you may mount them in the normal fashion, using the device-nodes in the /dev/evms/ directory.


Prev Table of Contents Next