All of lore.kernel.org
 help / color / mirror / Atom feed
From: AJ Lewis <lewis@sistina.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] snapshots & reiserfs
Date: Fri, 27 Jul 2001 12:55:42 -0500	[thread overview]
Message-ID: <20010727125542.B14486@sistina.com> (raw)
In-Reply-To: <Pine.LNX.4.33.0107271727460.16916-100000@greebo.foobarhouse.com>; from jamesp@foobarhouse.com on Fri, Jul 27, 2001 at 05:31:38PM +0100

[-- Attachment #1: Type: text/plain, Size: 1748 bytes --]

On Fri, Jul 27, 2001 at 05:31:38PM +0100, James Pattinson wrote:
> Im sure this is a FAQ but I can't find it.
> 
> I want to be able to use snapshots on my beta8 / reiserfs (stock 2.5.7)
> system. I can create a snapshot OK, but when I try to mount it I get an
> error saying we can't replay the logs since we are mounted read only.

<-snip->
 
> Any ideas? snapshots seem really cool, and i want to play :)

You need to make sure you apply the linux-2.4.x-VFS-lock.patch, and also
apply this:

--------
diff -Nru a/fs/reiserfs/super.c b/fs/reiserfs/super.c
--- a/fs/reiserfs/super.c       Sun Apr 29 20:44:38 2001
+++ b/fs/reiserfs/super.c       Sun Apr 29 20:44:38 2001
@@ -80,7 +80,7 @@
     reiserfs_prepare_for_journal(s, SB_BUFFER_WITH_SB(s), 1);
     journal_mark_dirty(&th, s, SB_BUFFER_WITH_SB (s));
     reiserfs_block_writes(&th) ;
-    journal_end(&th, s, 1) ;
+    journal_end_sync(&th, s, 1) ;
   }
   s->s_dirt = dirty;
   unlock_kernel() ;
--------

Apply the patches in this order:
 - LVM Beta8 patch
 - VFS-lock patch
 - the patch included in this email

Regards,
-- 
AJ Lewis
Sistina Software Inc.                  Voice:  612-638-0500
1313 5th St SE, Suite 111              Fax:    612-638-0500
Minneapolis, MN 55414                  E-Mail: lewis@sistina.com
http://www.sistina.com

Current GPG fingerprint = 3B5F 6011 5216 76A5 2F6B  52A0 941E 1261 0029 2648
Get my key at: http://www.sistina.com/~lewis/gpgkey
 (Unfortunately, the PKS-type keyservers do not work with multiple sub-keys)

-----Begin Obligatory Humorous Quote----------------------------------------
VI VI VI The editor of the beast.
-----End Obligatory Humorous Quote------------------------------------------

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

  reply	other threads:[~2001-07-27 17:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-27 16:31 [linux-lvm] snapshots & reiserfs James Pattinson
2001-07-27 17:55 ` AJ Lewis [this message]
2001-07-27 17:57   ` Mark Bainter
2001-07-27 18:29     ` AJ Lewis
2001-07-27 20:25       ` [linux-lvm] AJ's postings Jim Cromie
2001-07-27 20:32         ` Eric M. Hopper
2001-07-28 19:25         ` Michael Tokarev

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=20010727125542.B14486@sistina.com \
    --to=lewis@sistina.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.