Using LVM mirroring prevents single points of failure. If you want to increase fault tolerance and reliability, use LVM to mirror your data so that you always have more than one copy of your data. This can dramatically increase throughput by allowing your system to read data in parallel. With LVM, you can stripe data across two or more disks. Instead of wondering what data is on /dev/sdb, you can name your data with a descriptive name. Instead of using abstract disc numbers, you can use human readable device names of your choosing. For example, if you want to deploy newer, faster or more resilient storage, you can just move your existing data from the current storage devices to the new ones while your system is still active. LVM also allows you to easily migrate data from one storage device to another while that data is online. Of course, you would have to take the file system offline to perform that work. Without LVM, you would have to re-format and re-partition the underlying storage devices. LVM allows you to expand or shrink file systems in real time, while the data remains online and fully accessible. With LVM, you can aggregate multiple storage devices into a single logical volume. One benefit of using LVM is that you can create file systems that extend across multiple storage devices. By the way I'm going to be teaching from slides for the next minute or two so that you understand the concepts behind LVM, and then I'm going to open up a terminal and start demonstrating exactly how to use LVM. Before we get into those layers of abstraction and how to use them, let's talk about why you would want to use LVM in the first place. The Logical Volume Manager introduces extra layers of abstraction between the discs or storage devices presented to a Linux system and the file systems placed on those discs or storage devices.
0 Comments
Leave a Reply. |