All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Caulfield <caulfield@sistina.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] has anyone used LVM in a HA cluster?
Date: Fri May 10 02:24:02 2002	[thread overview]
Message-ID: <20020510072608.GA1001@tykepenguin.com> (raw)
In-Reply-To: <FB4B89C780FB274F8122447ED6CCDD773B492A@ads-ems.archway.com>

On Thu, May 09, 2002 at 09:54:40AM -0700, Au, Richard wrote:
> Hi,
> 
> I'm wondering if anyone has used LVM in a high-availibility cluster
> where two servers are connected to shared storage (the physical
> volumes).  If so, which cluster solution did you use?  Will there be
> problems if the logical volumes are visable to both servers, even if
> only one of them has them mounted?  Thanks!

Provided you're either using GFS as the file system or being VERY careful to
mount the filesystem on only one node at a time you can do this.

The key is just to be VERY careful. If you need to do any LVM commands you MUST

umount filesystems on all other nodes
vgchange -an on all other nodes

do the LVM metadata changes

vgscan on all nodes
vgchange -ay on all nodes.

The safe thing to do is to have only one node have the LVM commands available to
it (apart from vgscan & vgchange) and be VERY careful.

I'll say that again: Be VERY careful !

patrick

  parent reply	other threads:[~2002-05-10  2:24 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-09 11:53 [linux-lvm] has anyone used LVM in a HA cluster? Au, Richard
2002-05-09 12:14 ` Tim
2002-05-09 14:38 ` Chad Walstrom
2002-05-09 14:46   ` Goetz Bock
2002-07-13  7:12   ` Wichert Akkerman
2002-05-10  2:24 ` Patrick Caulfield [this message]
2002-05-10 17:51   ` Austin Gonyou
2002-05-10 19:45     ` Steven Lembark
2002-05-11 14:26       ` Luca Berra
2002-05-13  4:15         ` Michael Lausch
2002-05-13  6:54           ` Luca Berra
2002-05-13  7:33           ` Tim
2002-05-13 10:59             ` Michael Lausch
2002-05-13 11:23               ` Steven Lembark
2002-05-13 11:28               ` Tim

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=20020510072608.GA1001@tykepenguin.com \
    --to=caulfield@sistina.com \
    --cc=linux-lvm@sistina.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.