sfx2000
Part of the Furniture
Storage Part Three
Code:
===== Logical Volume Management =====
Before we go to far - if your needs are very simple, and you have enough space on your primary drive, then skip down to the SAMBA section, otherwise read on.
**WARNING - everything in this section has the ability to completely and utterly destroy data - what you do with your data is your business - these steps, if not clearly understood, will result in unrecoverable data loss to the drives/devices/volumes being worked on - back up your drives before considering any of these steps**
----
The Linux Logical Volume Manager (LVM) is a mechanism for virtualizing disks. It can create "virtual" disk partitions out of one or more physical hard drives, allowing you to grow, shrink, or move those partitions from drive to drive as your needs change. It also allows you to create larger partitions than you could achieve with a single drive.
Traditional uses of LVM have included databases and company file servers, but even home users may want large partitions for music or video collections, or for storing online backups. LVM and RAID 1 can also be convenient ways to gain redundancy without sacrificing flexibility.
This article looks first at a basic file server, then explains some variations on that theme, including adding redundancy with RAID 1 and some things to consider when using LVM for desktop machines.