All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Dilger <adilger@turbolabs.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Keep snapshots active for 24 hours?
Date: Fri Dec 14 16:34:02 2001	[thread overview]
Message-ID: <20011214153614.A855@lynx.no> (raw)
In-Reply-To: <NBBBKLKHMJHIJLHOGAOJKELIJCAA.steve.wray@the.net.nz>; from steve.wray@the.net.nz on Sat, Dec 15, 2001 at 10:52:17AM +1300

On Dec 15, 2001  10:52 +1300, Steve Wray wrote:
> I'd been wondering if snapshotting could be used for;
> 
> - providing 'virtual journalling' any filesystem that happens to
> be on a logical volume.

It could, but you would have to make a _lot_ of snapshots for it to
be worthwhile (i.e. one every 10-30 seconds or so).  If you want this
for "non-journaled" filesystems, you can use the ext3 journaling code
to add this to most any block based filesystem.  It isn't trivial,
but at least possible.

> - take a snapshot, install something or try something out
> that might break something, then restore *directly* from
> the snapshot if anything goes wrong; without having to actually
> back it up to media and restore it.

Yes, this would be clever.  I'd rather that RPM/DEB package tools just
become smarter (like AIX LPP) where it allows you arbitrary amounts of
back-out from updated packages (as long as you have enough disk space).
After you have "applied" a package, you can test it out, and either
commit it or revert to the old version.  The rpm and dpkg tools could
just do this by checksumming any existing files from the previous install
and only backing up those that had changed between versions.

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/

  reply	other threads:[~2001-12-14 16:34 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-14  6:33 [linux-lvm] Keep snapshots active for 24 hours? Dave Alden
2001-12-14 12:36 ` Andreas Dilger
2001-12-14 15:50   ` Steve Wray
2001-12-14 16:34     ` Andreas Dilger [this message]
2001-12-14 17:05       ` Steve Wray
2001-12-14 19:03         ` [linux-lvm] catch-22 Erick Calder
2001-12-16 13:36           ` Wolfgang Weisselberg
2001-12-16 13:36     ` [linux-lvm] Keep snapshots active for 24 hours? Wolfgang Weisselberg
2001-12-16 16:08       ` Kirby C. Bohling
2001-12-16 18:53         ` Petro
2001-12-16 21:12         ` Wolfgang Weisselberg
2001-12-16 22:19           ` Steve Wray
2001-12-17  2:41             ` Wolfgang Weisselberg
2001-12-17  3:08       ` Anselm Kruis
2001-12-14 18:58   ` Terje Kvernes
2001-12-15  0:31     ` Andreas Dilger

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=20011214153614.A855@lynx.no \
    --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 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.