LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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
 
LinkBack Search this Thread
Old 05-26-2011, 06:13 PM   #1
xeon123
Member
 
Registered: Sep 2006
Posts: 363

Rep: Reputation: 16
LVM Partitions are equals to OS partitions?


When we install a linux OS, we've an option to create partitions. In my laptop I've create partition for /opt, /home, / and /tmp.

Are these partitions the same type of partitions as the partitions created by LVM?
 
Old 05-26-2011, 06:45 PM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,773
Blog Entries: 4

Rep: Reputation: 697Reputation: 697Reputation: 697Reputation: 697Reputation: 697Reputation: 697
Not exactly.

LVM lives on top of disks or partitions whereas partitions are divisions of the disk itself.

However, functionally for creating filesystems you can think of a Logical Volume (LV) as a "logical partition".

To me LVM is superior to using partitions for most purposes:
1) There is a small limit to the number of partitions you can create on a single disk. The same disks under LVM can have many more LVs.
2) If you want to resize or remove a partition you have to resize all the partitions above it or recreate them. With LVM you can add or remove LVs as necessary and can resize them without worrying about what is on other LVs. (Both partitions and LVs are of course limited to how much space is physically available.)
3) With LVM you can combine partitions or disks into a much larger Volume Group (VG) so it appears as if it were a much larger "logical" disk. On systems with multiple disks this gives you even more LVs you can subdivide out of the VG or allows you to make an LV that is so large it spans multiple disks.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to multiboot distros from LVM and/or Non-LVM partitions? kennybobby Fedora 2 12-07-2010 06:58 AM
Partitions and LVM arashi256 Linux - Newbie 12 06-09-2010 04:03 AM
LVM partitions noir911 Red Hat 2 06-09-2009 06:19 AM
LXer: Back Up (And Restore) LVM Partitions With LVM Snapshots LXer Syndicated Linux News 0 04-17-2007 11:16 AM
how do I add partitions to drives that have Logical Volume (LVM) partitions? The MJ Linux - Software 5 08-17-2006 06:15 PM


All times are GMT -5. The time now is 08:12 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration