The Lvm Configuration Files; Sample Lvm.conf File - Red Hat LVM ADMINISTRATOR FOR RHEL 4.5 Administrator's Manual

Lvm administrator's guide for rhel 4.5
Table of Contents

Advertisement

Appendix B. The LVM Configuration
Files
LVM supports multiple configuration files. At system startup, the
loaded from the directory specified by the environment variable
by default.
/etc/lvm
The
file can specify additional configuration files to load. Settings in later files override
lvm.conf
settings from earlier ones. To display the settings in use after loading all the configuration files,
execute the
lvm dumpconfig
For information on loading additional configuration files, see

1. The LVM Configuration Files

The following files are used for LVM configuration:
/etc/lvm/lvm.conf
Central configuration file read by the tools.
etc/lvm/lvm_
.conf
hosttag
For each host tag, an extra configuration file is read if it exists:
file defines new tags, then further configuration files will be appended to the list of tiles to
read in. For information on host tags, see
In addition to the LVM configuration files, a system running LVM includes the following files that
affect LVM system setup:
/etc/lvm/.cache
Device name filter cache file (configurable).
/etc/lvm/backup/
Directory for automatic volume group metadata backups (configurable).
/etc/lvm/archive/
Directory for automatic volume group metadata archives (configurable with regard to
directory path and archive history depth).
/var/lock/lvm/
In single-host configuration, lock files to prevent parallel tool runs from corrupting the
metadata; in a cluster, cluster-wide DLM is used.

2. Sample lvm.conf File

command.
Section 2, "Host
configuration file is
lvm.conf
, which is set to
LVM_SYSTEM_DIR
Section 2, "Host
Tags".
lvm_hosttag.conf
Tags".
. If that
83

Advertisement

Table of Contents
loading

This manual is also suitable for:

Configuration and administration 4.5

Table of Contents