Linux LVM (Logical Volume Management) is a very important tool to
have in the toolkit of a MySQL DBA. It allows you to create and
extend logical volumes on the fly. This allows me to say, add
another disk and extend a partition effortlessly. The other very
important feature is the ability to take snapshots, that you can
then use for backups. All in all its a must have tool. Hence,
this guide will allow you to understand various terminologies
associated with LVM, together with setting up LVM volumes and in
a later part will also show you how to extend the volumes.
But first up let’s understand various terminologies associated with LVM.
TerminologiesThere are three terminologies that you need to be familiar with before you start working with LVM.
- Physical Volume: Physical Volumes are actual hard-disks or partitions, that you normally mount or unmount on a directory.