Linux LVM users
 help / color / mirror / Atom feed
From: Patrick Caulfield <pcaulfie@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] cluster questions
Date: Mon, 14 Jun 2004 13:49:30 +0100	[thread overview]
Message-ID: <20040614124930.GF30294@tykepenguin.com> (raw)
In-Reply-To: <Pine.LNX.4.55.0406111220100.24071@mallet-l.d2.com>

On Fri, Jun 11, 2004 at 12:35:43PM -0700, Sebastien Boving wrote:
> 
> 
> I know LVM does not support clusters.  The HOWTO makes a good job in
> explaining how it is not, and how you could use it at your own risk, at:
> 
> http://tldp.org/HOWTO/LVM-HOWTO/sharinglvm1.html
> 
> I realize nothing protects an in-use LV to be mounted by another host,
> which can severely corrupt non-clustered filesystems.
> 
> i still have a few questions in this regard though:
> 
> 
> 1) What are my advantages of running LVM2 instead of LVM?
> 
> LVM does all i need, i think, part from being cluster-enabled.  LVM2 is
> also not clustered enabled, though it is the basis of CLVM (which is on
> its way?).  Any advantages in this regard to already go to LVM2 now, even
> if only cause the upgrade to CLVM will go smoother?  The only reason i
> wouldn't go to LVM2 is cause my RHES3.0 supports LVM out of the box, not
> LVM2, and i rather stick to included software / kernel modules / ...
> unless i have a valid reason not to.

When clustered LVM does become available you will need LVM2. 
Even if you don't use that, lvm2 offers better metadata integrity features than
LVM1 which might make it easier to recover if you do make a mistake in your
"manual" clustering! Plus all the other normal benefits of LVM2...
 
> 
> 
> 2) Can snapshots safely be used by other nodes on the cluster?
> 
> Say a 'master node' owns the LVM config of a particular node.  It mounts
> all (non-snapshot) LV's in there.  Can i have it create a snapshot on one
> of its LV's, mount this on another node to perform a backup (sparing the
> first node's cpu and network resources), then delete the snapshot on the
> master mode, all this while observing the 'Other Nodes' procedure on the
> above mentionned FAQ page?  Is this a 100% safe & supported way of doing
> things?

No. the current snapshot implementation behviour is single-node only. If you try
to back up a snapshot on another node you won't get a valid backup because the
snapshot exceptions are written on the node that has the original LV mounted. 

-- 

patrick

      reply	other threads:[~2004-06-14 12:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-11 19:35 [linux-lvm] cluster questions Sebastien Boving
2004-06-14 12:49 ` Patrick Caulfield [this message]

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=20040614124930.GF30294@tykepenguin.com \
    --to=pcaulfie@redhat.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox