Configuring LVM Devices to Use EVMS

Use the following post-installation procedure to configure data devices (not system devices) to be managed by EVMS. If you need to configure an existing system device for EVMS, see Section 2.2, “Configuring an Existing System Device to Use EVMS ”.

  1. In a terminal console, run the EVMSGUI by entering the following as the root user or equivalent:

    evmsgui
    
  2. In the Volumes panel, review the names that EVMS reports as compatibility volumes, find the devices that represent the devices you want to manage using EVMS, then write down the names for future reference.

    For example, /dev/sdb1.

  3. In a text editor, edit the /etc/fstab file to use the EVMS volume names.

    For example, change the following entry for an LVM2 volume from this

    /dev/sdb1 / reiserfs defaults 1 2 
    

    to this

    /dev/evms/lvm2/sdb1 / reiserfs defaults 1 2
    
    [Important]Important

    Make sure not to leave any stray characters or spaces in the line.

    With these changes, each time your system boots, your file system is mounted using EVMS as the volume manager.

  4. Update the boot scripts as follows:

    • The command evms_activate must be run from your boot scripts in order to activate your volumes so they can be mounted.

    • If you run software-RAID (boot.md) or LVM (boot.lvm) boot files in your boot scripts, and if you are moving all devices to EVMS, remove or disable those commands.

  5. If you have not already done so, enable the boot.evms service.

    For information, see Section 2.1.3.4, “Enable the boot.evms Service”.

  6. Restart your system.


SUSE® Linux Enterprise Server Storage Administration Guide 10