How to get benefits of LVM in linux?

  • Thread starter Thread starter Brief-Wishbone
  • Start date Start date
  • Tags Tags
    Linux
Click For Summary

Discussion Overview

The discussion revolves around the benefits and importance of Logical Volume Management (LVM) in Linux compared to traditional partitioning methods. Participants explore the practical applications of LVM, particularly in server environments, and question its relevance for typical desktop users.

Discussion Character

  • Exploratory
  • Debate/contested
  • Conceptual clarification

Main Points Raised

  • One participant seeks to understand the specific advantages of LVM over traditional partitioning, asking for guidance on tutorials that demonstrate these benefits.
  • Some participants suggest that if one does not understand LVM, they likely do not need to use it, indicating a belief that LVM may not be necessary for all users.
  • Another participant notes that while LVM is beneficial for server environments due to features like online resizing without downtime, typical desktop users may not experience significant advantages, as their disk volumes often do not require resizing.
  • It is mentioned that many Linux distributions default to LVM in their installers, which could lead users to utilize LVM without fully understanding its functionality.
  • A later reply emphasizes that the only reason for desktop users to manually configure LVM would be for learning and curiosity, rather than necessity.

Areas of Agreement / Disagreement

Participants express differing views on the necessity and relevance of LVM for desktop users versus server environments. There is no consensus on whether LVM is essential for all users, with some arguing it is primarily beneficial for servers.

Contextual Notes

Some limitations in the discussion include the lack of specific examples demonstrating LVM's advantages over partitioning, as well as assumptions about user needs and knowledge levels regarding LVM.

Who May Find This Useful

This discussion may be useful for Linux users, particularly those interested in storage management, system administrators, and individuals curious about the differences between LVM and traditional partitioning methods.

Brief-Wishbone
Messages
12
Reaction score
0
TL;DR
Logical Volume Management in Linux.
https://www.linuxtechi.com/how-to-create-lvm-partition-in-linux/
So far, I followed this tutorial and did the steps told there. But it doesn't make me realize the importance of LVMs. What can I do to realize the importance of LVMs compared to partitioning? What's that that partitioning can't do but LVMs can do? I want to observe that. Can you guide me towards any tutorials of such?
 
Technology news on Phys.org
If you don't know what LVM does, you almost certainly don't want it.
 
  • Like
Likes   Reactions: Vanadium 50
pbuk said:
If you don't know what LVM does, you almost certainly don't want it.
You might get it without realizing it since many Linux distros default to LVM in their installers. I actually don't think there's much difference for most users; LVM has been around a long time and that code in the Linux kernel is pretty mature. So my response would be "if you don't know what LVM does, you almost certainly don't need to even think about it".
 
Brief-Wishbone said:
What can I do to realize the importance of LVMs compared to partitioning?
The main advantage for Linux distro maintainers is given at the start of the article:

LVM stands for Logical Volume Management, it is the recommended way to manage disk or storage on Linux systems specially for servers. One of the main advantages of LVM partition is that we can extend its size online without any downtime.

In other words, Linux servers benefit from LVM because of automatic resizing without downtime; resizing happens often enough on servers that that's a significant benefit. Ordinary individual Linux users don't really benefit from LVM per se, because your desktop system's disk volumes will probably never need to be resized (they'll already take up your entire disk and when you get low on disk space you'll be buying a new system anyway); but since Linux distros keep everything as standardized as possible, once LVM becomes the default for servers, it automatically becomes the default for desktops as well. Since there's no real downside to that for desktop users, that is what has ended up happening.
 
  • Like
Likes   Reactions: Wrichik Basu
PeterDonis said:
"if you don't know what LVM does, you almost certainly don't need to even think about it".
A corollary to this would be "if you don't know what LVM does, you almost certainly don't want to try doing it by hand; let your distro's installer take care of it". The only reason for a desktop user to do it by hand would be learning and curiosity.
 
  • Like
Likes   Reactions: Wrichik Basu
PeterDonis said:
The only reason for a desktop user to do it by hand would be learning and curiosity.
Excitement!
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 9 ·
Replies
9
Views
3K
Replies
2
Views
7K
  • · Replies 3 ·
Replies
3
Views
827
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
9K
  • · Replies 2 ·
Replies
2
Views
3K