From: Marc MERLIN <marc@merlins.org>
To: Chris Murphy <lists@colorremedies.com>
Cc: "linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Subject: Re: Need help mounting laptop corrupted root btrfs. Kernel BUG at fs/btrfs/volumes.c:3707
Date: Mon, 29 Oct 2012 10:42:47 -0700 [thread overview]
Message-ID: <20121029174247.GA7796@merlins.org> (raw)
In-Reply-To: <20121029154713.GF8019@merlins.org> <B19885DE-6AED-4B8B-B1CA-891878B43C8C@colorremedies.com>
Hi,
Thanks for the reply and hints.
On Sun, Oct 28, 2012 at 11:05:42PM -0600, Chris Murphy wrote:
> > I also have hourly, daily, weekly
> > btrfs subvolume snapshots, but I can't use those currently since I can't
> > mount the base filesystem.
>
> It might be worth unmounting it. Then only remounting a snapshot well
> before the problem started, yet still current enough to be useful: use
> '-o subvol=' instead of trying to mount from the top. Each subvolume
> is a root directory, so it might be possible to find one that will
> mount directly.
So, I had thought about going back to an old snapshot, but the problem
is that my snapshots have pseudo random names based on cron times when
they're taken.
Because I couldn't mount the root so I couldn't find the snapshot names.
Is there a way to get a list of snapshots from a btrfs FS without
mounting it?
> > I'm a bit surprised that no one seems to be replying on btrfs crashes,
> > that's a bit worrisome. I'm willing to risk my data somewhat, but if finding
> > a problem doesn't help fixing the code, I'm not sure if I'm helping anymore
> > :-/
>
> Lurking, I've learned this means you either didn't provide enough
> information for anyone to go on, or the problem is known. I suspect
> the former. Kernel 3.5.0 or 3.6.2 doesn't say where it came from, what
Fair enough. At the time I thought it didn't really matter how the bug
happened, and more that btrfs shouldn't crash my kernel when there is
some minor problem with the filesystem.
In my case, I'm convinced it was simply a problem that all the writes
did not make it to disk before the device disconnected for some unknown
reason (not related to btrfs).
> distribution, or what version of btrfs is included in that distros
debian unstable although it didn't seem relevant since it's the kernel
in initrd that can't mount the filesystem. Userland seems to be btrfs
0.19 as per the output I posted.
> kernel. And I'm not seeing that you're using a debug kernel, which
> will actually produce useful error messages.
Thanks for pointing that out. I'll admit that I'm not sure what kernel
build options I'm supposed to add to help. I asked about that in the
past, but never heard back.
What do you recommend I add in .config?
> And it's over a weekend for another thing.
Well, it was thursday when I posted :)
Now, I get the general point that I have no paid support, and I'm not
even sure there is any official support for kernel.org from yesterday or
last week (just a few vendor kernels).
At the same time, if brave testers are risking their data to help test
the filesystem, it's also good if they feel re-assured that they'll get
help or that if their data is gone, whatever bug they found was useful
to someone.
Now, there is a good ending to this story, thanks to you no less, I'll
post in another message not to burry it down there.
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/
next prev parent reply other threads:[~2012-10-29 17:49 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-25 19:58 Need help mounting laptop corrupted root btrfs. Kernel BUG at fs/btrfs/volumes.c:3707 Marc MERLIN
2012-10-25 20:03 ` cwillu
2012-10-25 20:12 ` Marc MERLIN
2012-10-29 4:30 ` Marc MERLIN
2012-10-29 5:05 ` Chris Murphy
2012-10-29 17:42 ` Marc MERLIN [this message]
2012-10-29 17:48 ` Need help mounting laptop corrupted root btrfs. Kernel BUG at fs/btrfs/volumes.c:3707 - FIXED Marc MERLIN
2012-10-30 15:46 ` Marc MERLIN
2012-10-31 9:24 ` Sander
2012-10-31 15:40 ` Marc MERLIN
2012-11-01 10:56 ` Sander
2012-11-01 16:16 ` Marc MERLIN
2012-10-26 18:29 ` Need help mounting laptop corrupted root btrfs. Kernel BUG at fs/btrfs/volumes.c:3707 Marc MERLIN
[not found] <E1TTCzR-0001nz-1p@gandalfthegreat.merlins.org>
[not found] ` <20121030144914.GA18659@merlins.org>
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=20121029174247.GA7796@merlins.org \
--to=marc@merlins.org \
--cc=linux-btrfs@vger.kernel.org \
--cc=lists@colorremedies.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 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).