Chapter 13: Flexible Storage Management with LVM
Managing local storage can be done in a more flexible manner than in Chapter 12, Managing Local Storage and Filesystems, by using the Logical Volume Manager (LVM). LVM allows you to assign more than one disk to the same logical volume (the equivalent in LVM to a partition), have data replicated across different disks, and make snapshots of a volume.
In this chapter, we will review the basic usage of LVM and the main objects that are used to manage storage. We will learn how to prepare disks to be used with LVM, and then aggregate them into a pool, thereby not only increasing the available space, but also enabling you to use it consistently. We will also learn how to distribute that aggregated disk space into partition-like chunks that can easily be extended if necessary. To do so, we will go through the following topics:
- Understanding LVM
- Creating, moving, and removing physical volumes
- Combining physical volumes...