From: Alasdair G Kergon <agk@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Limitation: Snapshots does not work in cluster enviroment ?
Date: Sat, 14 Apr 2007 16:24:07 +0100 [thread overview]
Message-ID: <20070414152407.GK26983@agk.fab.redhat.com> (raw)
In-Reply-To: <4620E73F.50100@dtnet.de>
On Sat, Apr 14, 2007 at 04:37:51PM +0200, Daniel Schwager wrote:
> So, i want to use snapshot1 on server1, snapshot2 on server2. The
> original LV
> (where the snapshot is created from) is not in use (not mounted on any
> server).
>
> Is this possible ?
Well the reason you can't use snapshots in a cluster is because writes
cannot be handled correctly when there's more than one machine involved.
If all your writes are local with no impact on LVs in use on other
machines then the current kernel implementation ought to work.
I think the userspace LVM code could be tweaked to support this
configuration. Until then, you'll need to activate the snapshots
manually using dmsetup directly.
Userspace changes we'd need for the tools to support this:
Permit a snapshot to be activated without its corresponding origin.
- requires a snapshot exclusive lock (already supported)
- requires an origin lock that prevents any node having origin active
(implementation needs more thought but it should be possible)
Alasdair
--
agk@redhat.com
next prev parent reply other threads:[~2007-04-14 15:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-14 13:32 [linux-lvm] Limitation: Snapshots does not work in cluster enviroment ? Daniel Schwager
2007-04-14 14:52 ` Alasdair G Kergon
2007-04-14 14:37 ` Daniel Schwager
2007-04-14 15:24 ` Alasdair G Kergon [this message]
2007-04-14 15:44 ` Daniel Schwager
2007-04-15 4:11 ` Alasdair G Kergon
2007-04-15 7:31 ` Daniel Schwager
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=20070414152407.GK26983@agk.fab.redhat.com \
--to=agk@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;
as well as URLs for NNTP newsgroup(s).