Snapshot Volumes - Red Hat ENTERPRISE LINUX 4 - LVM ADMINISTRATOR Manual

Cluster logical volume manager
Table of Contents

Advertisement

Chapter 2. LVM Components
LVM supports mirrored volumes. When you create a mirrored logical volume, LVM ensures that data
written to an underlying physical volume is mirrored onto a separate physical volume. With LVM, you
can create mirrored logical volumes with multiple mirrors.
An LVM mirror divides the device being copied into regions that are typically 512KB in size. LVM
maintains a small log which it uses to keep track of which regions are in sync with the mirror or
mirrors. This log can be kept on disk, which will keep it persistent across reboots, or it can be
maintained in memory.
Figure 2.6, "Mirrored Logical Volume"
configuration, the log is maintained on disk.
Figure 2.6. Mirrored Logical Volume
For information on creating and modifying mirrors, see

2.3.4. Snapshot Volumes

The LVM snapshot feature provides the ability to create virtual images of a device at a particular
instant without causing a service interruption. When a change is made to the original device (the
origin) after a snapshot is taken, the snapshot feature makes a copy of the changed data area as it
was prior to the change so that it can reconstruct the state of the device.
Note
LVM snapshots are not supported across the nodes in a cluster.
Because a snapshot copies only the data areas that change after the snapshot is created, the
snapshot feature requires a minimal amount of storage. For example, with a rarely updated origin, 3-5
% of the origin's capacity is sufficient to maintain the snapshot.
10
shows a mirrored logical volume with one mirror. In this
Section 4.4.1.3, "Creating Mirrored
Volumes".

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise linux 4

Table of Contents