All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Brian J. Murrell" <brian@interlinx.bc.ca>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: [linux-lvm] how to "ignore" a volume group created elsehwere on a shared device
Date: Thu, 11 Aug 2005 02:57:41 -0400	[thread overview]
Message-ID: <1123743470.31680.174.camel@pc.ilinx> (raw)

[-- Attachment #1: Type: text/plain, Size: 1146 bytes --]

I have two machines connected to a shared storage device that I am
trying to use LVM2 with.

On one machine, /dev/sda1 is the same device (i.e. LUN on the shared
storage device) as /dev/sda2 on the other machine and vice versa.  To be
pedantically clear, machine one writes into /dev/sda1 and machine two
can see what was written by machine one in it's /dev/sda2.

The problem is that on machine one, if I add /dev/sda1 as a PV and then
create a VG on it, "automagically" machine two sees this same VG and a
PV in /dev/sda2.

Now while this has some very interesting "failover" benefits going for
it, it's lousing me up right now.

I want to be able to add /dev/sda1 as a PV on machine two and create VG
there of the same name as I used on machine one.  Of course LVM2 gets
upset that the VG exists already.

I have tried adding the device name I don't want to see the PV (and the
VG on it) on to the /etc/lvm/lvm.conf filter and while that prevents a
vgscan from scanning it, it still does not prevent pvdisplay from
listing it and the volume group on it from being visible.

Is there any way to do what I want?

b.


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

                 reply	other threads:[~2005-08-11  6:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1123743470.31680.174.camel@pc.ilinx \
    --to=brian@interlinx.bc.ca \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.