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

Lvm administrator's guide for rhel 4.5
Table of Contents

Advertisement

Appendix B. The LVM Configuration Files
# There are 6 syslog-like log levels currently in use - 2 to 7
inclusive.
# 7 is the most verbose (LOG_DEBUG).
level = 0
# Format of output messages
# Whether or not (1 or 0) to indent messages according to their severity
indent = 1
# Whether or not (1 or 0) to display the command name on each line
output
command_names = 0
# A prefix to use before the message text (but after the command name,
# if selected).
# of each message.
prefix = "
# To make the messages look similar to the original LVM tools use:
#
indent = 0
#
command_names = 1
#
prefix = " -- "
# Set this if you want log messages during activation.
# Don't use this in low memory situations (can deadlock).
# activation = 0
}
# Configuration of metadata backups and archiving.
# talk about a 'backup' we mean making a copy of the metadata for the
# *current* system.
# Backups are stored in a human readable text format.
backup {
# Should we maintain a backup of the current metadata configuration ?
# Use 1 for Yes; 0 for No.
# Think very hard before turning this off!
backup = 1
# Where shall we keep it ?
# Remember to back up this directory regularly!
backup_dir = "/etc/lvm/backup"
# Should we maintain an archive of old metadata configurations.
# Use 1 for Yes; 0 for No.
# On by default.
archive = 1
# Where should archived files go ?
# Remember to back up this directory regularly!
archive_dir = "/etc/lvm/archive"
# What is the minimum number of archive files you wish to keep ?
retain_min = 10
# What is the minimum time you wish to keep an archive file for ?
retain_days = 30
86
Default is two spaces, so you can see/grep the severity
"
The 'archive' contains old metadata configurations.
Think very hard before turning this off.
In LVM2 when we

Advertisement

Table of Contents
loading

This manual is also suitable for:

Configuration and administration 4.5

Table of Contents