I.T. Security and Linux Administration

Nov 30 2013   9:17PM GMT

Should I Use LVM?

Eric Hansen Eric Hansen Profile: Eric Hansen

LVM is a nice invention when it comes to Linux and the kernel.  The easiest way to think of it is RAID without any performance gain or loss.  You’re able to extend and shrink the LVM partitions like RAID but there’s no benefit to it beyond that.

Why would anyone want to use LVM over RAID or no special partitioning period?  One good reason would be for /var.  With all the logs and other various bits of data that gets stored there its typically the first place to look when your disk space is running low.

You’re not always going to want to have the overhead of RAID’s functionality for partitions, so it is likely /var isn’t set up as a RAID.  Once you hit that space limit you’re forced to either delete data you may want in the future or risk your system going down due to “lack of space” (it happens :/).  With LVM you can extend the partition using a few simple commands and be good to go again.  Usually you can do this while the system is still running too, which essentially makes it hot swappable.

 Comment on this Post

There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

Share this item with your network: