linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Chris Mason <mason@suse.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] How do you mount a snapshot?
Date: Thu, 07 Dec 2000 15:56:11 -0500	[thread overview]
Message-ID: <24530000.976222571@coffee> (raw)
In-Reply-To: <20001207123743.B24307@ultraviolet.org>


On Thursday, December 07, 2000 12:37:43 -0800 Tracy R Reed
<treed@ultraviolet.org> wrote:

> So...can I or can I not use snapshots with reiserfs? The snapshot was
> taken of a currently mounted and functioning (reiserfs module
> loaded...compiled into the kernel, actually) so if I did the snapshot
> correctly there should be a filesystem there. I'm going to wipe it out
> (nothing on it but some test files) and try again with ext2 and see what
> happens. 
> 
> This should work, shouldn't it?
> 

It should work with ext2.

You can make reiserfs snapshots, but you also need to apply the
linux-2.4.0-test10-VFS-lock.patch that comes with the LVM 0.9 code.  This
adds the hooks LVM needs to ask reiserfs to make the FS consistent before
creating the snapshot.

And, you need to edit linux/drivers/block/lvm.c, and uncomment the
LVM_VFS_ENHANCEMENT #define.  This enables the LVM code that uses the hooks.

-chris

  reply	other threads:[~2000-12-07 20:56 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 [this message]
2000-12-08  2:25         ` Tracy R Reed
2000-12-08  6:33         ` David Gould
2000-12-08 14:09           ` Chris Mason
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=24530000.976222571@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).