Message-ID: <03c901c3b84b$84dadde0$8d7ba8c0@ecrosstrade.com> From: "John S. Hoch" MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_03C6_01C3B808.768B5DC0" Subject: [linux-lvm] LVM sharing questions Sender: linux-lvm-admin@sistina.com Errors-To: linux-lvm-admin@sistina.com Reply-To: linux-lvm@sistina.com List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: Date: Tue Dec 2 07:51:04 2003 List-Id: To: Linux-LVM@Sistina.com Cc: John S Hoch This is a multi-part message in MIME format. ------=_NextPart_000_03C6_01C3B808.768B5DC0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have two questions regarding the sharing of LVM volumes in Linux. I = have read the text in the LVM Howto. Suppose I have two sets of volume groups. One set belongs to node A. = The other set belongs to node B. I plan to use "vgchange -ay vgname" to = bring up the volume groups during boot. Each node only brings up the = volume groups that belong to it. That is why I specify the volume-group = name to vgchange. My questions concern vgscan. =20 1. Suppose I only plan to run vgscan during boot. Later, if I make = changes to the LVM metadata for volume groups that belong to node A, I = do not plan to inform node B (I do not run vgscan on node B after the = changes are made). So, node B will not have uptodate information on the = volume groups that belong to node A, but those groups are not available = to node B anyway (they have never been made available to node B by = running vgchange on node B). In this way, I do not need to shutdown = node B for changes that only affect node A. Will this work? 2. Suppose I do run vgscan on node B after changes to the LVM metdata = are made on node A. Can I do this without following the sequence in the = LVM Howto (first issue "vgchange -an" on node B, then make the changes = on node A, then run vgscan on node B)? I am hoping that I do not need = to issue "vgchange -an" on node B because I am not making changes to = volume groups that are available to node B. Best regards, John S. Hoch Rasilient Systems ------=_NextPart_000_03C6_01C3B808.768B5DC0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I have two questions regarding the = sharing of=20 LVM volumes in Linux.  I have read the text in the LVM = Howto.
 
Suppose I have two sets of volume = groups.  One=20 set belongs to node A.  The other set belongs to node B.  I = plan to=20 use "vgchange -ay vgname" to bring up the volume groups during = boot.  Each=20 node only brings up the volume groups that belong to it.  That is = why I=20 specify the volume-group name to vgchange.
 
My questions concern vgscan.  =
 
1.  Suppose I only plan to run = vgscan during=20 boot.  Later, if I make changes to the LVM metadata for volume = groups that=20 belong to node A, I do not plan to inform node B (I do not run vgscan on = node B=20 after the changes are made).  So, node B will not have uptodate = information=20 on the volume groups that belong to node A, but those groups are not = available=20 to node B anyway (they have never been made available to node B by = running=20 vgchange on node B).  In this way, I do not need to shutdown node B = for=20 changes that only affect node A.  Will this=20 work?
2.  Suppose I do run vgscan on = node B after=20 changes to the LVM metdata are made on node A.  Can I do this = without=20 following the sequence in the LVM Howto (first issue "vgchange -an" on = node B,=20 then make the changes on node A, then run vgscan on node B)?  I am = hoping=20 that I do not need to issue "vgchange -an" on node B because I am = not=20 making changes to volume groups that are available to node = B.
 
Best regards,
 
John S. Hoch
Rasilient = Systems
------=_NextPart_000_03C6_01C3B808.768B5DC0--