All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Mason <mason@suse.com>
To: Christian Mayrhuber <christian.mayrhuber@gmx.net>
Cc: reiserfs-list <reiserfs-list@namesys.com>
Subject: Re: Data-logging and md as / fs bug
Date: 07 May 2003 11:23:25 -0400	[thread overview]
Message-ID: <1052321005.14616.407.camel@tiny.suse.com> (raw)
In-Reply-To: <200305071652.00627.christian.mayrhuber@gmx.net>

On Wed, 2003-05-07 at 10:52, Christian Mayrhuber wrote:
> Am Mittwoch, 7. Mai 2003 16:43 schrieb Chris Mason:
> > On Wed, 2003-05-07 at 10:41, Christian Mayrhuber wrote:
> > > /dev/md0 is reiserfs mounted / and /dev/md1 is swap space, messages are
> > > from a Debian woody system. /dev/md0 needs to resync after reboot.
> > > /dev/md0 consists of hda1 and hdc1
> > > /dev/md1 consists of hda2 and hdc2
> > > The
> > > Here's the output from the failed shutdown:
> > >
> > > Stopping RAID devices: md: md0 still in use
> > > /dev/md0: Device or resource busy
> >
> > Interesting, I think I understand it.  You don't any warnings about
> > failures while unmounting /, right?

> No warning at all.
> I've reiserfsck'ed /dev/hda1 and /dev/hdc1 from a cd boot without md support
> to see if there is something corrupt on one drive, but both raid1 disks were
> perfectly ok.

Ok, it's probably because of the way the journal relocation code grabs
the journal device.  Since root doesn't really get fully unmounted we've
probably got a reference open and that is upsetting the md code.

The right fix is probably to skip the bdget when the journal device is
not external , and just set journal->j_dev_bd to super->s_bdev.

Oleg/namesys, do you see any reason this won't work?

-chris





  reply	other threads:[~2003-05-07 15:23 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-03  0:07 Data-logging for 2.4.21-rc1+ (again) Manuel Krause
2003-05-03 10:31 ` Oleg Drokin
2003-05-06 19:34   ` Data-logging and md as / fs bug Christian Mayrhuber
2003-05-06 19:44     ` Chris Mason
2003-05-06 19:56       ` Dieter Nützel
2003-05-08 13:31         ` Chris Mason
2003-05-09 20:21           ` Manuel Krause
2003-05-11 12:58             ` Chris Mason
2003-05-12  7:29           ` Oleg Drokin
2003-05-13 14:15             ` Manuel Krause
2003-05-13 14:25               ` Oleg Drokin
2003-05-13 15:00                 ` Manuel Krause
2003-05-13 14:59                   ` Oleg Drokin
2003-05-13 15:39                     ` Manuel Krause
2003-05-13 15:42                       ` Oleg Drokin
2003-05-15 13:31                         ` Manuel Krause
2003-05-13 21:52               ` Newsmail
2003-05-13 22:18                 ` Christian Mayrhuber
2003-05-14  5:40                 ` Oleg Drokin
2003-05-06 20:53       ` Christian Mayrhuber
2003-05-06 21:22         ` Chris Mason
2003-05-07 12:34         ` Chris Mason
2003-05-07 14:41           ` Christian Mayrhuber
2003-05-07 14:43             ` Chris Mason
2003-05-07 14:52               ` Christian Mayrhuber
2003-05-07 15:23                 ` Chris Mason [this message]
2003-05-08 13:35                   ` Chris Mason
2003-05-12  7:37                   ` Oleg Drokin
  -- strict thread matches above, loose matches on Subject: below --
2003-05-09 11:17 Kerin Millar

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=1052321005.14616.407.camel@tiny.suse.com \
    --to=mason@suse.com \
    --cc=christian.mayrhuber@gmx.net \
    --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 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.