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 02-26-2011, 12:43 PM   #1
mmhs
Member
 
Registered: Oct 2010
Posts: 99

Rep: Reputation: 1
LVM Recommendation


hey guys i have simple question where or when you dont recommend to use LVM ??

where or when we dont use LVM is better or LVM not recommended

Last edited by mmhs; 02-26-2011 at 01:36 PM.
 
Old 02-26-2011, 03:42 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Can you explain more what you are trying to ask?
 
Old 02-26-2011, 04:13 PM   #3
mmhs
Member
 
Registered: Oct 2010
Posts: 99

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by corp769 View Post
Can you explain more what you are trying to ask?
my friend ask this question from me what is lvm and when you dont recommended to use LVM .

is it every where benefit ???
 
Old 02-26-2011, 04:13 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 164Reputation: 164
Have you done any searching yet? The first google hit for LVM is this
 
Old 02-26-2011, 04:18 PM   #5
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Quote:
Originally Posted by gilead View Post
Have you done any searching yet? The first google hit for LVM is this
You beat me to it man.

Here is another good link.

http://tldp.org/HOWTO/LVM-HOWTO/
 
Old 02-26-2011, 04:31 PM   #6
mmhs
Member
 
Registered: Oct 2010
Posts: 99

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by gilead View Post
Have you done any searching yet? The first google hit for LVM is this
hey man i know what is LVM but i dont know where is not benefit or dont recommended to use

Last edited by mmhs; 02-26-2011 at 09:38 PM.
 
Old 02-26-2011, 04:45 PM   #7
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 164Reputation: 164
I don't understand what you mean by it's not correct. Where does it say you have to use LVM for RAID?
 
Old 02-26-2011, 11:18 PM   #8
mmhs
Member
 
Registered: Oct 2010
Posts: 99

Original Poster
Rep: Reputation: 1
my question is where or when LVM is not benefit or not recommended

what is disadvantage of LVM

Last edited by mmhs; 02-26-2011 at 11:43 PM.
 
Old 02-26-2011, 11:44 PM   #9
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 987
Blog Entries: 4

Rep: Reputation: 252Reputation: 252Reputation: 252
Quote:
Originally Posted by mmhs View Post
my question is where or when LVM is not benefit or not recommended
Greetingz!

Well, the only times I would "not" recommend LVM would be the following;

1) When a person is first starting to use Linux.
If they are interested in the "System Administration" side of things, but don't yet have a strong enough *NIX background, then I would not recommend they start down the LVM or LVM+RAID path just yet.

2) When the system only has one hard drive, dedicated to that one Operating System.
Such is the case with Laptops that are not dual-booting with Windows.

3) If it's a Virtual Machine that's using virtual disks.
For example, with VMware, I would just create a few small virtual disk rather than committing one large virtual disk to the Virtual Machine, then trying to layer LVM on top of it.

However, bear in mind that LVM (especially LVM+RAID) is *great* when you have more than one physical hard disk of roughly the same size, and you want redundancy along easy filesystem management.
 
Old 02-27-2011, 02:17 AM   #10
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hello,

As already pointed out, LVM is not something you start with on your first go at Linux. Nor is it something that will prove its advantages when you only have one disk. The biggest advantages of LVM, amongst others, in my opinion are the fact that you can resize anyway you like 'on the fly' and the fact that you can take snapshots of the LVM partitions while running. These two already give you an edge. Furthermore if you're into disk performance you can use striped instead of linear mode also on LVM which can boost your disk read/write performance significantly. A quote from WikiPedia gives some more advantages:
Quote:
The LVM can:
Resize volume groups online by absorbing new physical volumes (PV) or ejecting existing ones.
Resize logical volumes (LV) online by concatenating extents onto them or truncating extents from them.
Create read-only snapshots of logical volumes (LVM1).
Create read-write snapshots of logical volumes (LVM2).
Stripe whole or parts of logical volumes across multiple PVs, in a fashion similar to RAID 0.
Mirror whole or parts of logical volumes, in a fashion similar to RAID 1.
Move online logical volumes between PVs.
Split or merge volume groups in situ (as long as no logical volumes span the split). This can be useful when migrating whole logical volumes to or from offline storage.
The LVM will also work in a shared-storage cluster (where disks holding the PVs are shared between multiple host computers), but requires an additional daemon to propagate state changes between cluster nodes.
LVM does not:
Provide parity-based redundancy across LVs, as with RAID levels 3 through 6. This functionality is instead provided by the Linux multiple disk subsystem, which can be used as LVM physical volumes.
Hope this sheds some light. Have fun with Linux.

Kind regards,

Eric
 
  


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 11:03 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