LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-06-2011, 10:01 AM   #1
noony123
Member
 
Registered: Oct 2010
Posts: 167

Rep: Reputation: 0
LVM or not ?


Hi all.

During my surfing on different forums, i have seen many ppl saying they dont use LVM. In my view, LVM does a great job, allowing you to expand partition over multiple drives. So if ppl say they dont use LVM, what they actually mean ?

1) They dont need to expand their partition ?
2) Or is there any alternative available ?

I mean, if i want to increase the size of my /home partition, if i am not using LVM, i cant do by simply adding another drive right ??
 
Old 03-06-2011, 10:22 AM   #2
troop
Member
 
Registered: Feb 2010
Distribution: gentoo, arch, fedora, freebsd
Posts: 379

Rep: Reputation: 97
You can use unionfs (or aufs) to adding another drive. There's raid0 too.
 
Old 03-06-2011, 10:27 AM   #3
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
I agree, LVM has many useful features (the ability to increase the size of partitions, the ability to encrypt the root file system, etc) that aren't accessible without it. Fedora seems to be the king of LVM at this point, because the Fedora installer uses LVM to create an encrypted root FS. I have no idea why people are against it.
 
Old 03-06-2011, 10:42 AM   #4
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,908

Rep: Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026
WIth the size of disks these days, it's probably option 1, but as troop pointed out, there are other options if all you want is a mechanism to span volumes.

Though LVM also provides a mechanism for spanning, it's not it's primary purpose. If anyone is using it only for that then IMO they're missing out, but from the posts I've seen on these forums over the years, there are many people who seem to be using it badly.
 
Old 03-06-2011, 11:48 AM   #5
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Another of LVM's useful features is snapshotting. Snapshotting allows verify-after-backup and a short down time for services that keep altering files when running such as virtual machines. For example:
  1. Stop VMs
  2. Create LVM snapshot
  3. Start VMs
  4. Verify backup
  5. Drop LVM snapshot
 
Old 03-07-2011, 12:08 PM   #6
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,143

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
I'm one of those that stoped Fedora using LVM when I first installed. I simply don't need it (/home is only 40% full after 6 years), so I avoided adding unnecessary complication.
 
Old 03-07-2011, 12:54 PM   #7
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
I recently installed both CentOS 5.5 and Debian Squeeze and was puzzled by their default of using all the disk (except for a small /boot) for LVM and then assigning all the LVM space to / (no other file systems except /boot).

Perhaps I'm misunderstanding something but that seems to give all the complexity of LVM and none of the benefits ...
 
Old 03-07-2011, 04:12 PM   #8
tuxandpucks
LQ Newbie
 
Registered: Mar 2011
Distribution: Ubuntu, Arch
Posts: 24
Blog Entries: 4

Rep: Reputation: 1
I may be slightly off in my knowledge so if I am please correct me, but I think I am correct when I say, LVM is useful because you don't need to devote your entire hard drive to partitions for LVM and (this one I am not totally sure about but I think is true), you would be able to alter sizes of your partitions even after install. I don't believe LVM allows for redundant content so that could be risky.

./Randy
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LVM REDUCE HOW TO UNMOUNT /dev/volumegroup/lvm crahuldba@gmail.com Linux - Newbie 3 10-29-2010 07:49 AM
Adding an LVM hard disk to a system already running/using LVM firewiz87 Linux - Hardware 5 08-15-2010 12:59 AM
lvm ontop of raid10 or combine two raid1 via lvm? okar Linux - Server 3 09-11-2009 02:37 PM
LVM and multiple iSCSI disks performance of LVM xxx_anuj_xxx Linux - Server 4 05-01-2008 12:26 PM
LXer: Back Up (And Restore) LVM Partitions With LVM Snapshots LXer Syndicated Linux News 0 04-17-2007 11:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration