# LVM HOWTO

### AJ Lewis

`<alewis(at)rackable.com>`

Copyright © 2002-2003 Sistina Software, Inc

Copyright © 2004-2005 Red Hat, Inc

Copyright © 2005-2006 Terrascale Technologies, Inc

Copyright © 2006 Rackable Systems, Inc

Revision History
Revision 0.19 | 2006-11-27 | Revised by: ajl
Clarified full snapshot conditions in Section 3.8 and Section 13.4.1 and added a note about resizing the origin of a snapshot; Fixed Rackable copyright; Fixed e-mail address
Revision 0.18 | 2006-11-27 | Revised by: ajl
Clarify whole disk usage in Section 11.1; Updated copyright; Updated e-mail address
Revision 0.17 | 2005-10-03 | Revised by: ajl
Added FAQ entry for max size of LVs in LVM2; Did some cleanup of "Recover physical volume metadata" section; Updated e-mail address
Revision 0.16 | 2005-07-15 | Revised by: ajl
Added lvm2 boot-time scripts info; Added "Recover physical volume metadata" section - thanks to Maximilian Attems for the patch
Revision 0.15 | 2005-06-09 | Revised by: ajl
Removed references to xfs_freeze - it is no longer needed; Updated snapshots subsection in Anatomy of LVM section; Added a couple entries to the LVM2 FAQ; Fixed a couple typos
Revision 0.14 | 2004-10-06 | Revised by: ajl
Added reference to lvm2_createinitrd in source tree; Adjusted lvcreate example slightly; Added 'vgchange -ay' in 'Moving a volume group to another system' recipe
Revision 0.13 | 2004-08-16 | Revised by: ajl
Clarify symlink farm description; Fix dm control device major number; Remove /boot from vg in small lvm setup example; Add notes about /boot and / on LVM; Remove outdated link;
Revision 0.12 | 2004-06-07 | Revised by: ajl
Updated LVM2 FAQ entries
Revision 0.11 | 2004-05-03 | Revised by: ajl
Updated LVM2 FAQ entries
Revision 0.10 | 2004-04-22 | Revised by: ajl
removed -print0 from find command after receiving reports that it doesn't work
Revision 0.9 | 2004-04-16 | Revised by: ajl
Added -print0 to find command before piping it to cpio; Changed vgimport command line for LVM 2; Added ext3 to the ext2 resize section; Updated FAQ; Updated Links section
Revision 0.8 | 2004-02-25 | Revised by: ajl
Updated CVS locations and FTP links; Added section on extending a JFS filesystem; Fixed typos - Ran aspell against document
Revision 0.7 | 2004-02-16 | Revised by: ajl
Updated to include LVM 2 and device mapper information; Updated email addresses; Updated copyright; Added FAQ section; Added document license; Updated to docbook 4.2
Revision 0.6 | 2003-12-09 | Revised by: ajl
Updated for LVM 1.0.8; fixed broken link; Clarified redhat init script section;
Revision 0.5 | 2003-02-10 | Revised by: ajl
Updated Redhat initscript information for 7.0 and above; Added information on removing a partition table from a disk if pvcreate fails; Default PE size is 32MB now; Updated method for snapshotting under XFS.
Revision 0.4 | 2002-12-16 | Revised by: ajl
Updated for LVM 1.0.6
Revision 0.3 | 2002-09-16 | Revised by: ajl
removed example pvmove from Command Operations section - we now just point to the more detailed recipe on pvmove that contains various warnings and such
Revision 0.2 | 2002-09-11 | Revised by: ajl
Updated for LVM 1.0.5 and converted to DocBook XML 4.1.2.
Revision 0.1 | 2002-04-28 | Revised by: gf
Initial conversion from Sistina's LaTeX source and import to tLDP in LinuxDoc format.

This document describes how to build, install, and configure LVM for Linux. A basic description of LVM is also included. This version of the HowTo is for LVM 2 with device-mapper, as well as LVM 1.0.8.

|  | Next
|  | Introduction