public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Mike Fedyk <mfedyk@mikefedyk.com>
To: Josef Bacik <josef@redhat.com>
Cc: linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: Oops while attempting to mount degraded multi-device raid1 data/metadata btrfs filesystem
Date: Fri, 26 Mar 2010 14:15:27 -0700	[thread overview]
Message-ID: <93cdabd21003261415g45b31a40saa00d378d0e1f748@mail.gmail.com> (raw)
In-Reply-To: <20100326180639.GF6334@localhost.localdomain>

On Fri, Mar 26, 2010 at 11:06 AM, Josef Bacik <josef@redhat.com> wrote:
> On Fri, Mar 26, 2010 at 10:49:57AM -0700, Mike Fedyk wrote:
>> I still get this oops with the latest btrfs kernel code from git (as
>> of =C2=A02010-03-21) compiled against 2.6.32.9-70.fc12.x86_64
>>
>
> Will you try this patch
>
> [PATCH] Btrfs: fail to mount if we have problems reading the block gr=
oups
>
> and see if it works? =C2=A0Thanks,
>
> Josef
>

As already discussed on irc....

With that patch it doesn't oops anymore, but it still doesn't mount.

I get this kernel output:
btrfs: failed to read the system array on sda7
btrfs: open_ctree failed
device fsid 3546a1a7a4563c4b-2b1289f58c64988c devid 1 transid 974 /dev/=
sda7
btrfs: allowing degraded mounts
=46ailed to read block groups: -5
btrfs: open_ctree failed

btrfs-debug-tree crashes on the FS:

# time btrfs-debug-tree /dev/sda7 > /tmp/sda7-debug-tree.out
failed to read /dev/sde
failed to read /dev/sdd
failed to read /dev/sdc
failed to read /dev/sdb
btrfs-debug-tree: volumes.c:1381: btrfs_read_sys_array: Assertion
`!(ret)' failed.
Aborted (core dumped)

real    0m0.304s
user    0m0.001s
sys     0m0.016s


# wc /tmp/sda7-debug-tree.out
0 0 0 /tmp/sda7-debug-tree.out

# rpm -qa |grep -i btrfs
btrfs-progs-0.19-9.fc13.x86_64

I'll leave this patch running in my btrfs module for every-day testing.

I'll await any patches you'd like me to test.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      reply	other threads:[~2010-03-26 21:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-05 20:19 Oops while attempting to mount degraded multi-device raid1 data/metadata btrfs filesystem Mike Fedyk
2010-03-26 17:49 ` Mike Fedyk
2010-03-26 18:06   ` Josef Bacik
2010-03-26 21:15     ` Mike Fedyk [this message]

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=93cdabd21003261415g45b31a40saa00d378d0e1f748@mail.gmail.com \
    --to=mfedyk@mikefedyk.com \
    --cc=josef@redhat.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