linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Andreas Dilger <adilger@turbolabs.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] SnapRestore software on NetApp
Date: Thu, 18 Oct 2001 12:20:22 -0600	[thread overview]
Message-ID: <20011018122021.G1144@turbolinux.com> (raw)
In-Reply-To: <20011018174818.C849@btconnect.com>

On Oct 18, 2001  17:48 +0100, Joe Thornber wrote:
> On Thu, Oct 18, 2001 at 04:46:58PM +0200, Emanuel Quass wrote:
> > But to come to business, I have to write a comparison between Linux  and 
> > NetApp Filers. (Is there anything already somewhere available?)
> > 
> > I saw something about a "SnapRestore software" which means that it is 
> > possible to revert a snapshot back to the filesystem in some minutes!
> > My question: Is this possible with LVM and reiserfs too?
> 
> I'm not sure what you mean by 'reverting a snapshot back to the
> filesystem', but dropping a snapshot takes very little time (seconds).

What this means is to make the "snapshot" become the primary copy again,
and not "dropping" it.  In other words, lets say you just deleted a whole
bunch of files on your filesystem, or your database chewed up the data.
Instead of restoring from a backup, or copying from the snapshot into a
new volume, you "revert" the snapshot data back into the original volume.
The latter only involves copying as much data as is in the snapshot,
instead of the entire volume.

If you had "symmetrical" snapshot volumes (i.e. the snapshot is exactly
a regular volume and both the snapshot and the original have "links"
to the blocks that they use) it would be possible to "drop" the original
and move the snapshot to become the original volume.

This may be possible to do in the short term with writable snapshots,
but then you start getting into a very ugly situation where the "good"
volume (i.e. the writable snapshot) depends on the snapshot, which
depends on the original "bad" volume and you can't get rid of any of them.

Cheers, Andreas
--
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert

  reply	other threads:[~2001-10-18 18:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-18 14:46 [linux-lvm] SnapRestore software on NetApp Emanuel Quass
2001-10-18 16:48 ` Joe Thornber
2001-10-18 18:20   ` Andreas Dilger [this message]
2001-10-19  8:08     ` Joe Thornber

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=20011018122021.G1144@turbolinux.com \
    --to=adilger@turbolabs.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 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).