All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marc MERLIN <marc@merlins.org>
To: Chris Mason <clm@fb.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: Upgrade to 3.14.0 messed up raid0 array (btrfs cleaner crashes in fs/btrfs/extent-tree.c:5748 and fs/btrfs/free-space-cache.c:1183 )
Date: Tue, 8 Apr 2014 21:31:25 -0700	[thread overview]
Message-ID: <20140409043125.GI10789@merlins.org> (raw)
In-Reply-To: <53448AFA.4080601@fb.com>

On Tue, Apr 08, 2014 at 07:49:14PM -0400, Chris Mason wrote:
> 
> 
> On 04/08/2014 06:09 PM, Marc MERLIN wrote:
> >I forgot to add that while I'm not sure if anyone ended up looking at the
> >last image I made regarding
> >https://bugzilla.kernel.org/show_bug.cgi?id=72801
> >
> >I can generate a an image of that filesystem if that helps, or try other
> >commands which hopefully won't crash my running server :)
> >(filesystem is almost 2TB, so the image will again be big)
> >
> 
> Hi Marc,
> 
> So from the messages it looks like your space cache is corrupted.  Lets 
> start with clearing the space cache and running fsck and seeing exactly 
> what is wrong.

gargamel:~# mount  -o clear_cache /dev/dm-4 /mnt/mnt
[48132.661274] BTRFS: device label btrfs_raid0 devid 1 transid 50567 /dev/mapper/raid0d1
[48132.703063] BTRFS info (device dm-5): force clearing of disk cache
[48132.724780] BTRFS info (device dm-5): disk space caching is enabled

Mmmh, I've never had much luck with btrfsck

> An image will definitely help if you have a pipe big enough to upload it.

Mmmh, I guess I should have taken this before the clear_cache mount, but
even after that, I still got the crash, so let me take an image first

Then, what fsck options do you recommend?

Thanks,
Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/  

  reply	other threads:[~2014-04-09  4:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-08 15:36 Upgrade to 3.14.0 messed up raid0 array (btrfs cleaner crashes in fs/btrfs/extent-tree.c:5748 and fs/btrfs/free-space-cache.c:1183 ) Marc MERLIN
2014-04-08 22:09 ` Marc MERLIN
2014-04-08 23:49   ` Chris Mason
2014-04-09  4:31     ` Marc MERLIN [this message]
2014-04-09  5:31       ` Marc MERLIN
2014-04-09 15:42         ` Marc MERLIN
2014-04-09 15:46           ` Chris Mason
2014-04-09 16:51             ` Marc MERLIN
2014-04-09 18:54               ` Chris Mason
2014-04-09 19:24               ` Duncan

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=20140409043125.GI10789@merlins.org \
    --to=marc@merlins.org \
    --cc=clm@fb.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 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.