The LVM Datastore 4.4

Overview

OpenNebula provides LVM support in two flavours:

  • LVM: the classical OpenNebula approach.
  • Shared LVM: the new approach designed to work with multiple system datastores.

Overview of LVM and Shared LVM

LVM Shared LVM
cLVM Requires cLVM in the worker nodes.
Shared FS Does not require a shared FS. Requires a shared FS to be available in the frontend and in the worker nodes.
Image Registration Images are registered in LV format. Images are registered in file-format in the frontend, which are accessible by the nodes.
Volume Group The datastore has a VG name associated to it. OpenNebula dynamically selects the VG.
Persistent Images Image LVs are directly used in the Virtual Machine in the Datastores's VG. Images are dumped to newly created LVs for the VM in a dynamically selected VG.
Clone Images Image LVs are cloned in the same VG Images are dumped to newly created LVs for the VM in a dynamically selected VG.
Live Migration Yes
Disk Snapshots Yes