From: Chris Mason <mason@suse.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] How do you mount a snapshot?
Date: Fri, 08 Dec 2000 09:09:57 -0500 [thread overview]
Message-ID: <323270000.976284597@coffee> (raw)
In-Reply-To: <20001207223300.D25533@archimedes.oak.suse.com>
On Thursday, December 07, 2000 22:33:00 -0800 David Gould <dg@suse.com>
wrote:
> On Thu, Dec 07, 2000 at 03:56:11PM -0500, Chris Mason wrote:
[ snapshots ]
>> It should work with ext2.
>
> Really? I wonder. Maybe right after a sync before anything gets dirtied,
> but otherwise, how could the disk image be consistantly, er, consistant?
> And would not e2fsck have the same issues about writing?
>
> Or did I just wake up pessimistic today?
>
The reason it will not work on reiserfs without the extra API is that on
reiserfs, sync == commit to log, not commit to disk. So, there is no way
over the command line (or in the kernel) to ask the FS to sync to disk,
even when there is no traffic at all on the FS.
With ext2, if nothing is going on, you can type sync and have all the
buffers on disk. It is at least possible ;-) It would be better if ext2
could provide the write suspension hooks as well, but I'm guessing that
will be done in ext3 first (where the journal already does most of the
work).
In my mind, the people that need snapshots the most are the database
programs, where disk traffic can be carefully controlled. So the current
ext2 method is still useful.
-chris
next prev parent reply other threads:[~2000-12-08 14:09 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-07 11:39 [linux-lvm] How do you mount a snapshot? Tracy R Reed
2000-12-07 19:55 ` David Gould
2000-12-07 20:05 ` Chris Mason
2000-12-07 20:37 ` Tracy R Reed
2000-12-07 20:56 ` Chris Mason
2000-12-08 2:25 ` Tracy R Reed
2000-12-08 6:33 ` David Gould
2000-12-08 14:09 ` Chris Mason [this message]
2000-12-08 15:08 ` [linux-lvm] LVM Upgrade Magnus Naeslund(f)
2000-12-08 18:30 ` [linux-lvm] How do you mount a snapshot? David Gould
2000-12-08 20:30 ` Christian Limpach
2000-12-11 4:10 ` [linux-lvm] OOPS while doing vgextend Magnus Naeslund(f)
2000-12-11 6:48 ` [linux-lvm] How do you mount a snapshot? David Gould
2000-12-11 14:58 ` Chris Mason
2000-12-11 18:35 ` 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=323270000.976284597@coffee \
--to=mason@suse.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).