LinuxQuestions.org
Review your favorite Linux distribution.
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, 11: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, 11:22 AM   #2
troop
Member
 
Registered: Feb 2010
Distribution: gentoo, arch, fedora, freebsd
Posts: 379

Rep: Reputation: 96
You can use unionfs (or aufs) to adding another drive. There's raid0 too.
 
Old 03-06-2011, 11: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, 11:42 AM   #4
GazL
Senior Member
 
Registered: May 2008
Posts: 4,086
Blog Entries: 1

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
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, 12:48 PM   #5
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
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, 01:08 PM   #6
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,165

Rep: Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223
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, 01:54 PM   #7
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
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, 05: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 08:49 AM
Adding an LVM hard disk to a system already running/using LVM firewiz87 Linux - Hardware 5 08-15-2010 01:59 AM
lvm ontop of raid10 or combine two raid1 via lvm? okar Linux - Server 3 09-11-2009 03:37 PM
LVM and multiple iSCSI disks performance of LVM xxx_anuj_xxx Linux - Server 4 05-01-2008 01:26 PM
LXer: Back Up (And Restore) LVM Partitions With LVM Snapshots LXer Syndicated Linux News 0 04-17-2007 12:16 PM


All times are GMT -5. The time now is 07:04 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration