linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dennis Schridde <devurandom@gmx.net>
To: linux-btrfs@vger.kernel.org
Subject: Partition broken, btrfsck segfaults or asserts
Date: Tue, 5 Nov 2013 13:04:59 +0100	[thread overview]
Message-ID: <20131105130459.133d538e@samson> (raw)

[-- Attachment #1: Type: text/plain, Size: 1620 bytes --]

Hello!

I have a serious problem with inaccessible data and segfaulting btrfsck
for the /var partition on my computer.

The reason is not entirely clear to me. The only extraordinary things
happening today were an empty CMOS battery and me accidentally enabling
C1E support when reconfiguring the BIOS. Afterwards the computer did
not boot properly anymore (some GPU lockup thingy and the whole system
locked up hard before X would start) and when I cut the power and setup
the BIOS again (this time without C1E support), /var would be broken in
the state I describe below.

I can mount it, and dmesg says the following, which seems normal:
---
device label var devid 1 transid 393536 /dev/sda7
btrfs: use lzo compression
btrfs: enabling auto defrag
---

When I access certain directories, however, I get a message like this
one:
ls: cannot access /var/log: Stale NFS file handle

When I run btrfsck --repair it asserts, and when I just run btrfsck
without extra options it segfaults. Sadly I do not have debug symbols
installed, so the backtrace is probably useless. I attached the
stdout/err output of both runs to the bugzilla report:
https://bugzilla.kernel.org/show_bug.cgi?id=64411

# btrfs --version
Btrfs v0.20-rc1-358-g194aa4a

# uname -r
3.11.6-gentoo

I would be thankful if you could help me to get as much as possible of
my data back. And please CC me, as I am not subscribed to the list.

Best regards,
Dennis

P.S: I already sent an email yesterday, but it did not arrive in the
archives, so I assume it was blocked by the list for the two ~125kB
attachments.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

             reply	other threads:[~2013-11-05 12:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-05 12:04 Dennis Schridde [this message]
2013-11-05 14:00 ` Partition broken, btrfsck segfaults or asserts 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=20131105130459.133d538e@samson \
    --to=devurandom@gmx.net \
    --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;
as well as URLs for NNTP newsgroup(s).