From: Chris Ball <cjb@laptop.org>
To: Robert Pankowecki <robert@cubiware.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: Using snapshots as quick restore point
Date: Wed, 10 Feb 2010 09:12:41 -0500 [thread overview]
Message-ID: <m3mxzh18o6.fsf@pullcord.laptop.org> (raw)
In-Reply-To: <1265796562.8697.110.camel@rupert-desktop> (Robert Pankowecki's message of "Wed, 10 Feb 2010 11:09:22 +0100")
Hi,
> * create snapshot
> * mount it somewhere (read-write)
> * operate on the snapshot, change some files etc...
> * revert changes made to the snapshot to its original state
Make two snapshots instead of one, and only modify one of them?
Because of CoW, new snapshots have very low overhead.
> with or without unmounting it.
You would have to unmount it if it had any open files.
> If not, is there any filesystem that can do that ?
I don't know of any filesystem that lets you discard changes to a
snapshot, but I've just described a method for doing so where you
always make a read-only -pristine version of that snapshot and have
tools that base your read-write snapshots on that.
I don't think it would be possible for any filesystem to handle
changing snapshot on a mounted filesystem with files open, so it
makes sense that it's a remount operation.
- Chris.
--
Chris Ball <cjb@laptop.org>
One Laptop Per Child
prev parent reply other threads:[~2010-02-10 14:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-10 10:09 Using snapshots as quick restore point Robert Pankowecki
2010-02-10 14:12 ` Chris Ball [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=m3mxzh18o6.fsf@pullcord.laptop.org \
--to=cjb@laptop.org \
--cc=linux-btrfs@vger.kernel.org \
--cc=robert@cubiware.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