What is LVM? : All you need to know about Logical Volume Manager
Keeping the disk drives systematically checked and with complete control of partitions could be a tough job. So, if you’re using Linux Operating System and you’re having that similar problem, it’s not yet the end of the world, buddy. Here’s the good news, there’s LVM!
It is Logical Volume Manager!
You might be celebrating by now but the question pops out of your mind’¦What does it do? Well, Logical Volume Manager or Logical Volume Management as the process itself, provides higher-level of view of your disk storage on you computer system. It greatly differs from the manual view of disk and partitions. It saves you a lot of time, much more efficient, and of course, it’s stress-free.
This allows the system administrator much more better options to systematically distribute storage to users and applications. It also gives the system administrator the ease of organizing storage volumes in user-defined groups. The point is, you can easily track the storage volume and deal sensibly with the named volume groups, such as ‘Departments’, ‘Sales’, ‘Employees’, and who cares what you name it, rather than ‘sda’, ‘sdb’, and any other storage names. It’s a hassle to check all that data blindly.
You might question yourself this’¦ ‘I’m using a desktop at home, it’s a small system. Do I need this?’
Here’s why you need it:
Even if you’re using a small system in your home, there are some instances that will certainly piss you off.
If it’s your first time using Linux and you’re not that good in partitioning drives, you’ll face problems such as, the required space that is needed to allocate on system files, having problems of filling these partitions or resizing it, and much more.
Using Logical Volume Manager, the entire disk would be given to specific volume group, and break down those created logical volumes to hold the usr and home file systems.
To put this on a much simple perspective,
If your home logical volume is already packed up but you still have available space in your usr logical volume, it is possible to reduce the usr volume by a couple or few megabytes then reallocate that to the home volume. Isn’t it great?
There’s no question about it when it comes to larger systems since you’re going to have a lot of disk drives.
The problem with large systems without LVM is that the personnel left in-charge with the managing job more likely to complain a lot. It is time-consuming, particularly complex since it involves with disk drives with different sizes. Matching storage requirements for those disk drives means hell for users.
With LVM, you won’t have to worry much of those balancing storage requirements, resizing, you don’t even have to move those drives a lot just to make sure everything will be in order.
Using LVM, the system admin can ‘restrain’ disk storage until it is needed. Or it can be added user volume group that needs it the most.
It is easy to remove the drivers out of the service just by moving data into other storages. It can be done WITHOUT disrupting the user service.