[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] snapshots & reiserfs

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.

> 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

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

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: pgp00040.pgp
Description: PGP signature

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]