All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Mason <chris.mason@oracle.com>
To: Malwina Bartoszynska <m.bartoszynska@rootbox.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: "btrfs: open_ctree failed" error
Date: Wed, 21 Dec 2011 14:06:05 -0500	[thread overview]
Message-ID: <20111221190605.GY19266@shiny> (raw)
In-Reply-To: <loom.20111221T141346-863@post.gmane.org>

On Wed, Dec 21, 2011 at 01:54:06PM +0000, Malwina Bartoszynska wrote:
> Hello,
> after unmounting btrfs partition, I can't mount it again.
> 
> root@xxx:~# btrfs device scan
> Scanning for Btrfs filesystems
> root@xxx:~# mount /dev/sdb /data/osd.0/
> mount: wrong fs type, bad option, bad superblock on /dev/sdb,
>        missing codepage or helper program, or other error
>        In some cases useful info is found in syslog - try
>        dmesg | tail  or so
> 
> root@xxxx:~# dmesg|tail
> [57192.607912] device fsid ed25c604-3e11-4459-85b5-e4090c4d22d0 devid 
> 2 transid14429 /dev/sda
> [57204.796573] end_request: I/O error, dev fd0, sector 0
> [57231.660913] device fsid ed25c604-3e11-4459-85b5-e4090c4d22d0 devid 1
>  transid 14429 /dev/sdb
> [57231.680387] parent transid verify failed on 424308420608 wanted 6970
>  found 8959
> [57231.680546] parent transid verify failed on 424308420608 wanted 6970
> found 8959
> [57231.680705] parent transid verify failed on 424308420608 wanted 6970 
> found 8959
> [57231.680861] parent transid verify failed on 424308420608 wanted 6970 
> found 8959
> [57231.680869] parent transid verify failed on 424308420608 wanted 6970 
> found 8959
> [57231.680875] Failed to read block groups: -5
> [57231.704165] btrfs: open_ctree failed

Can you tell us more about this filesystem?  Was there an unclean
shutdown or did you just unmount, mount again?

The confusing thing is that all of your disks seem to have the same copy
of the block, so it looks like things were written properly.

-chris

  reply	other threads:[~2011-12-21 19:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-21 13:54 "btrfs: open_ctree failed" error Malwina Bartoszynska
2011-12-21 19:06 ` Chris Mason [this message]
2011-12-22  9:43   ` Malwina Bartoszynska
2012-01-31 15:53     ` Max

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=20111221190605.GY19266@shiny \
    --to=chris.mason@oracle.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=m.bartoszynska@rootbox.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.