Red Hat LVM ADMINISTRATOR FOR RHEL 4.5 Administrator's Manual page 101

Lvm administrator's guide for rhel 4.5
Table of Contents

Advertisement

VG
#
# volume_list = [ "vg1", "vg2/lvol1", "@tag1", "@*" ]
# Size (in KB) of each copy operation when mirroring
mirror_region_size = 512
# 'mirror_image_fault_policy' and 'mirror_log_fault_policy' define
# how a device failure affecting a mirror is handled.
# A mirror is composed of mirror images (copies) and a log.
# A disk log ensures that a mirror does not need to be re-synced
# (all copies made the same) every time a machine reboots or crashes.
#
# In the event of a failure, the specified policy will be used to
# determine what happens:
#
# "remove" - Simply remove the faulty device and run without it.
#
the log device fails, the mirror would convert to using
#
an in-memory log.
#
remember its sync status across crashes/reboots and
#
the entire mirror will be re-synced.
#
mirror image fails, the mirror will convert to a
#
non-mirrored device if there is only one remaining good
#
copy.
#
# "allocate" - Remove the faulty device and try to allocate space on
#
a new device to be a replacement for the failed device.
#
Using this policy for the log is fast and maintains the
#
ability to remember sync state through crashes/reboots.
#
Using this policy for a mirror device is slow, as it
#
requires the mirror to resynchronize the devices, but it
#
will preserve the mirror characteristic of the device.
#
This policy acts like "remove" if no suitable device and
#
space can be allocated for the replacement.
#
Currently this is not implemented properly and behaves
#
similarly to:
#
# "allocate_anywhere" - Operates like "allocate", but it does not
#
require that the new space being allocated be on a
#
device is not part of the mirror.
#
failure, this could mean that the log is allocated on
#
the same device as a mirror device.
#
device, this could mean that the mirror device is
#
allocated on the same device as another mirror device.
#
This policy would not be wise for mirror devices
#
because it would break the redundant nature of the
#
mirror.
#
device and space can be allocated for the replacement.
mirror_log_fault_policy = "allocate"
mirror_device_fault_policy = "remove"
}
####################
# Advanced section #
####################
This means the mirror will not
This policy acts like "remove" if no suitable
Sample lvm.conf File
If a
For a log device
For a mirror
If
89

Advertisement

Table of Contents
loading

This manual is also suitable for:

Configuration and administration 4.5

Table of Contents