public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Suzuki <suzuki@linux.vnet.ibm.com>
To: reiserfs-list@namesys.com, lkml <linux-kernel@vger.kernel.org>
Cc: Jan Kara <jack@suse.cz>
Subject: Problem with multiple mounts
Date: Wed, 08 Nov 2006 11:22:15 -0800	[thread overview]
Message-ID: <45522E67.7050907@linux.vnet.ibm.com> (raw)

Hi,

I am working on a problem as mentioned below :

Problem description:

"I exported a disk partition using nbd protocol. On the nbd client, I 
make reiserfs and run fsstress test case on this partition. At the same 
time, I mount this partition on the nbd server. Then Oops appears as 
following:"

ReiserFS: sda10: found reiserfs format "3.6" with standard journal
ReiserFS: sda10: using ordered data mode
ReiserFS: sda10: journal params: device sda10, size 8192, journal first 
block 18, max trans len 1024, max batch 900, max commit age 30, max 
trans age 30
ReiserFS: sda10: checking transaction log (sda10)

Oops: Kernel access of bad area, sig: 11 [#1]

Call Trace:
[C000000011333090] [C0000000001EDB70] .journal_read+0x165c/0x1b6c 
(unreliable)
[C000000011333410] [C0000000001EF280] .journal_init+0xdc0/0xee8
[C000000011333530] [C0000000001CDBD8] .reiserfs_fill_super+0xa90/0x1e40
[C000000011333790] [C00000000011E988] .get_sb_bdev+0x208/0x31c
[C000000011333870] [C0000000001CA00C] .get_super_block+0x38/0x60
[C000000011333900] [C00000000011E260] .vfs_kern_mount+0xec/0x198
[C0000000113339B0] [C00000000011E3E0] .do_kern_mount+0x88/0xdc
[C000000011333A50] [C0000000001532CC] .do_mount+0xd50/0xe08
[C000000011333D60] [C000000000175090] .compat_sys_mount+0x368/0x448
[C000000011333E30] [C00000000000861C] syscall_exit+0x0/0x40

But, if we try the steps in the reverse order,

"mount the partition on nbd server first and then try fsstress tests on 
the client side. This is just to ensure that the server is not seeing an 
incomplete journal created by the client side runs."

Things work fine !

I doubt if this is due to the mount finding an incomplete journal 
created by the client side fsstress runs in the first scenario.

My question is : Is this supported ? Mounting a filesystem which is 
already mounted and replaying the ( - a may be incomplete- ) journal.


Thanks.

Suzuki

             reply	other threads:[~2006-11-08 19:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-08 19:22 Suzuki [this message]
2006-11-08 20:33 ` Problem with multiple mounts Lennart Sorensen
2006-11-08 22:38   ` Suzuki
2006-11-08 23:06     ` Andreas Dilger
2006-11-09 15:15       ` Lennart Sorensen
2006-11-09 16:37         ` David Masover
2006-11-08 22:13 ` David Masover

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=45522E67.7050907@linux.vnet.ibm.com \
    --to=suzuki@linux.vnet.ibm.com \
    --cc=jack@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=reiserfs-list@namesys.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