Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 01-12-2008, 08:19 PM   #1
Registered: Mar 2007
Posts: 61

Rep: Reputation: 18
Setting up LVM with full disks...

Hi all,

I'm new to LVM, and am wondering if it's possible to initialize partitions with data on them as physical volumes, assign them to a volume group, then make a logical volume that covers all the physical volumes, and be able to mount it and still see all the data? (I know, run-on sentence) You can probably see my dilemma. Is there any other way to implement LVM without having to do mass data transfers?

Also, being new to LVM, I'm trying to understand if there would ever be a case that would require you to create multiple volume groups? I mean doesn't it make more sense to just create multiple logical volumes instead? BTW, I'm just running a home file/ftp server with multiple disks.

Thanks for any help or advice,
Old 01-13-2008, 09:26 AM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668
You can't convert a live partition/disk to an LVM "physical volume" (PV) without overwriting it so you'd need to save off the data first.

The reason for multiple Volume Groups (VGs) would be more apparent on large systems with external storage (SAN or NAS) attached. In commercial operations often you allocate a certain amount of storage to a certain environment. In such a case it makes things easier to manage if you create a new volume group for each environment then allocate your logical volumes (LVs) for that environment within the specific VG. This lets you now when you're running out of space for that environment rather than risking running out of space for all environments at the same time.

Also there is a limit to the number of PVs and LVs that can be contained within a single VG so in large commercial operations where you have many environments and the need for many PVs and LVs you often would need to create the separate VGs just to be sure you didn't hit these limits.
Old 01-13-2008, 11:27 AM   #3
Registered: Mar 2007
Posts: 61

Original Poster
Rep: Reputation: 18
Many thanks.



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
RHEL3 - removing disks shifts LVM dev names downward? QuantSuff Linux - Server 2 06-04-2007 11:58 AM
moving disks with software raid and LVM mastrboy Linux - General 8 09-30-2006 09:33 AM
Does making lvm on logical disks struck XP from installation? nirmaltom Linux - Software 2 07-29-2006 06:35 AM
Should I use JBOD or LVM? (spanning disks) sillygates Linux - Hardware 2 07-20-2006 08:07 PM
Manage disks on an existing system with LVM doris Linux - Hardware 1 03-02-2005 02:37 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:23 AM.

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