public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Chris Mason <chris.mason@oracle.com>
To: Alex Elsayed <eternaleye@gmail.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: Kernel BUG on mounting BtrFS / after reboot
Date: Thu, 18 Feb 2010 15:48:43 -0500	[thread overview]
Message-ID: <20100218204843.GW10559@think> (raw)
In-Reply-To: <loom.20100218T183230-637@post.gmane.org>

On Thu, Feb 18, 2010 at 05:38:22PM +0000, Alex Elsayed wrote:
> Chris Mason <chris.mason <at> oracle.com> writes:
> 
> > 
> > Ugh ok.  The first thing I'd like to do is give you a patch to
> > completely disable the tree log replay and give you the chance to backup
> > critical data.
> > 
> > Do you already have a backup of the critical things on this drive?  The
> > problem you're hitting is that tree-logging code is trying to replay an
> > fsync of a file, but it can't find the file to replay.  This could be a
> > small and localized corruption or it could be a larger problem.  We'll
> > have to fix things one at a time to figure it out.
> > 
> > The easiest way to move forward would be to save a complete copy of the
> > FS with dd, but that's probably not very easy given the size.
> > 
> > -chris
> 
> Well, I ran badblocks on the drive, and it was happily silent, so that's a good 
> sign. I alo attached btrfsck output upthread, which says that there are 44 
> inodes with errors. Unfortunately, I don't really have a drive big enough to 
> back up to. I may be able to borrow one from a friend, though.

I think the btrfsck output is missing.  It sounds like we'll survive if
we just skip this part of the log replay.  I'll cook a patch based on
the btrfsck output.

-chris

  reply	other threads:[~2010-02-18 20:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-12 21:04 Kernel BUG on mounting BtrFS / after reboot Alex Elsayed
2010-02-12 22:50 ` Mike Fedyk
2010-02-12 22:59   ` Alex Elsayed
2010-02-17  6:47     ` Alex Elsayed
2010-02-17 14:18 ` Chris Mason
2010-02-18  0:35   ` Alex Elsayed
2010-02-18 15:02     ` Chris Mason
2010-02-18 17:38       ` Alex Elsayed
2010-02-18 20:48         ` Chris Mason [this message]
2010-02-18 20:54           ` Alex Elsayed
2010-02-23  8:30             ` Alex Elsayed
2010-02-25  1:40               ` Chris Mason

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=20100218204843.GW10559@think \
    --to=chris.mason@oracle.com \
    --cc=eternaleye@gmail.com \
    --cc=linux-btrfs@vger.kernel.org \
    /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