Posted Nov 1, 2012 1:15 UTC (Thu) by PaulWay (✭ supporter ✭, #45600)
Parent article: Fedora and LVM
One thing I love about LVM, and hate about not using it, and the fundamental reason why I think it should be used by default is:
Sure, you can always do equivalent operations using raw partitions to the standard uses of LVM - setting up new partitions after your initial install, extending partitions, moving entire partitioning systems to new disks without downtime, etc. But they're painful, low-level operations that require a lot of hassle and are fraught with the possibility of adgering your entire system. Get one partition number wrong, forget that some numbers are written in 512-byte sectors and others in 2048-byte blocks and still others in 1024-byte kilobytes, and you might as well say goodbye to your system and start again.
Yes, you can use special graphical tools to reduce the likelihood of error on some of these things. LVM has one of those too.
Yes, a competent sysadmin can work around all these issues. LVM makes all of that easier.
Yes, if you know what you're doing you can set up your system with a spare set of partition entries just in case. But LVM saves you from having to know in advance that you might, at some point, need a second root partition or whatever.
Yes, the 'normal user' might not see those things. And the 'normal user' might never see a bash prompt, but we still install bash because of all the other uses of it.
LVM provides flexibility, future-proofing, and makes complicated operations simple.
I see lots of packages - systemd, LVM, SELinux - where there are plenty of vocal anecdotes of people who didn't understand it and disabled it and now never use it. I also see lots of anecdotes of people who swear off using AMD processors, or Seagate hard drives, or Asus motherboards, or whatever, because of that one time that they got hurt by some weirdness that they didn't understand at the time. This is magical thinking, people. Learn the new systems, rather than stepping away from them. Question your habits, rather than being a slave to them.
(Unfortunately for me, I installed F18 alpha at a stage where LVM didn't even seem to be offered as a partitioning option.)