Chapter 3. LVM Administration Overview
14
Creating the LVM volume is machine independent, since the storage area for LVM setup information
is on the physical volumes and not the machine where the volume was created. Servers that use the
storage have local copies, but can recreate that from what is on the physical volumes. You can attach
physical volumes to a different server if the LVM versions are compatible.
3.3. Growing a File System on a Logical Volume
To grow a file system on a logical volume, perform the following steps:
1. Make a new physical volume.
2. Extend the volume group that contains the logical volume with the file system you are growing to
include the new physical volume.
3. Extend the logical volume to include the new physical volume.
4. Grow the file system.
If you have sufficient unallocated space in the volume group, you can use that space to extend the
logical volume instead of performing steps 1 and 2.
3.4. Logical Volume Backup
Metadata backups and archives are automatically created on every volume group and logical volume
configuration change unless disabled in the
lvm.conf
file. By default, the metadata backup is stored
in the
/etc/lvm/backup
file and the metadata archives are stored in the
/etc/lvm/archive
file.
How long the the metadata archives stored in the
/etc/lvm/archive
file are kept and how many
archive files are kept is determined by parameters you can set in the
lvm.conf
file. A daily system
backup should include the contents of the
/etc/lvm
directory in the backup.
Note that a metadata backup does not back up the user and system data contained in the logical
volumes.
You can manually back up the metadata to the
/etc/lvm/backup
file with the
vgcfgbackup
command. You can restore metadata with the
vgcfgrestore
command. The
vgcfgbackup
and
vgcfgrestore
commands are described in
Section 4.3.11, “Backing Up Volume Group Metadata”
.
3.5. Logging
All message output passes through a logging module with independent choices of logging levels for:
• standard output/error
• syslog
• log file
• external log function
The logging levels are set in the
/etc/lvm/lvm.conf
file, which is described in
Appendix B, The
LVM Configuration Files
.
Summary of Contents for CLUSTER SUITE 4.7 - CLUSTER LVM ADMINISTRATORS
Page 1: ...Red Hat Cluster Suite 4 7 Cluster Logical Volume Manager LVM Administrator s Guide ...
Page 6: ...vi ...
Page 12: ...xii ...
Page 24: ...12 ...
Page 62: ...50 ...
Page 72: ...60 ...
Page 82: ...70 ...
Page 84: ...72 ...
Page 86: ...74 ...
Page 96: ...84 ...
Page 103: ...91 Appendix E Revision History Revision History Revision 1 0 ...
Page 104: ...92 ...
Page 108: ...96 ...