All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Mason <chris.mason@oracle.com>
To: btrfs@nentwig.biz
Cc: linux-btrfs@vger.kernel.org
Subject: Re: can't read superblock (but could mount)
Date: Fri, 10 Feb 2012 18:39:59 -0500	[thread overview]
Message-ID: <20120210233959.GV8384@shiny> (raw)
In-Reply-To: <20120210221842.GU8384@shiny>

On Fri, Feb 10, 2012 at 05:18:42PM -0500, Chris Mason wrote:
> On Fri, Feb 10, 2012 at 08:30:51PM +0100, btrfs@nentwig.biz wrote:
> > Hi!
> > 
> > I used to have arch linux running on 1 btrfs partition (sda1, incl. /boot).
> > When switching to 3.2.5 recently the system fails to boot:
> > 
> > (after udevd)
> > /etc/rc.sysinit: line 15: 117 Bus error  mountpoint -q /proc
> > and so on, no idea.
> > 
> > It used to boot with 3.2.4, but
> > 
> > 1) I obviously had some corruption in the tree, when I tried to delete a
> > certain file I hit e.g. "kernel BUG at fs/btrfs/extent-tree.c" message.
> > 
> > 2) Even while running 3.2.4 I was unable to mount the partition from a
> > parallel gentoo or live USB install and I still am:
> > 
> > # mount /dev/sda1 /mnt/arch/
> > mount: /dev/sda1: can't read superblock
> > 
> > The strange thing is: when trying to boot from the partition the
> > boot loader (syslinux) is
> > obviously still able load the kernel from that partition.
> > 
> > Tried btrfs-zero-log and some deperate other things. Result: I can
> > now actually
> > execute btrfsck which previously used to fail:
> 
> Ok, step one:
> 
> Pull down the dangerdonteveruse branch of btrfs-progs:
> 
> git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git dangerdonteveruse
> 
> Run btrfs-debug-tree -r /dev/sda1 and send the output here please.

Sorry, that's btrfs-debug-tree -R /dev/sda1

-chris

  reply	other threads:[~2012-02-10 23:39 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-10 19:30 can't read superblock (but could mount) btrfs
2012-02-10 22:18 ` Chris Mason
2012-02-10 23:39   ` Chris Mason [this message]
2012-02-11  6:27     ` btrfs
2012-02-13 13:09       ` Chris Mason
2012-02-14 17:37         ` Timo Nentwig
2012-02-14 18:41           ` Chris Mason
2012-02-14 18:54             ` Timo Nentwig
2012-02-14 21:14               ` Chris Mason
2012-02-15  6:03                 ` Timo Nentwig
2012-02-15 13:23                   ` Chris Mason
2012-02-16 17:04                     ` Timo Nentwig
2012-02-16 18:14                       ` Chris Mason
2012-02-17  3:35           ` Timo Nentwig

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=20120210233959.GV8384@shiny \
    --to=chris.mason@oracle.com \
    --cc=btrfs@nentwig.biz \
    --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.