LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-25-2006, 10:00 AM   #1
IwantLINUX
Member
 
Registered: Oct 2004
Location: India
Distribution: RH9,Fedora
Posts: 75

Rep: Reputation: 15
Lvm....


Hi,

Is it possible to keep one single physical volume or partition in two or more VGs?

Eg. if i want to use /dev/sda12 in LVM, is it possible to keep some part of it in VG1 and rest in VG2?

Regards,
 
Old 06-25-2006, 01:14 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
your question doesn't make sense. if sda12 is an lvm parition then that is the PV. PV's contain VG's. multiple VG's can exist within a PV and a single VG can span multiple PV's, but you seem to be asking is a physical partition can be placed inside multiple VG's, which doesn't fit in with anything. if you're asking if a mountable LV can span VG's then no it can't, instead you would take 2 VG's and combine them to a single one, meaning you could have on LV across 2 physical devices.
 
Old 06-25-2006, 07:32 PM   #3
IwantLINUX
Member
 
Registered: Oct 2004
Location: India
Distribution: RH9,Fedora
Posts: 75

Original Poster
Rep: Reputation: 15
Hi,

I am sorry for being confused.....what i want to know is when i create VG from two PV's i give command vgcreate vg1 /dev/sda1 /dev/sda2, now suppose i want to use some part of /dev/sda2 in vg1 and rest in vg2 so would it be right if i say vgcreate vg2 /dev/sda2 /dev/sda3?

Like you said "multiple VG's can exist within a PV", how is this possible??

Regards,
 
  


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
Possible to change non-LVM to LVM? darthfoolish Linux - Software 2 08-01-2008 03:47 AM
what is LVM ? tofee Linux - Newbie 2 05-16-2006 02:47 AM
Lvm sudheendra.ss Linux - General 1 05-03-2005 06:36 PM
lvm Ammad Linux - General 2 02-22-2005 08:19 PM
LVM on RH AS 2.1 yoggieb Linux - Enterprise 2 07-18-2004 05:49 AM

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

All times are GMT -5. The time now is 01:59 PM.

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