From: Niklas Schnelle <niklas.schnelle@gmail.com>
To: Duncan <1i5t5.duncan@cox.net>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: Can't remove empty directory after kernel panic, no errors in dmesg
Date: Sat, 7 Dec 2013 16:35:30 +0100 [thread overview]
Message-ID: <CADdntNvokc0sUdfaMjUMhe7+pYoPYv6qwSZGZ691SHZc9tPihQ@mail.gmail.com> (raw)
In-Reply-To: <pan$eae06$5585191a$304325c1$fe3db1e1@cox.net>
Ok here is yet another update, I compiled the current git version
of btrfs progs on the Ubuntu Live System and ran that on my filesystem
first as btrfs check then with repair.
Here is the output after repair:
http://niklas.sceneproject.org/btrfs_out.txt
Somehow I still don't see btrfs errors when actually running with that
fillesystem,
even though that looks like a lot of errors to me. I hope
this information is useful. I guess I'll just try my luck until
my course paper is due and then it might be best to just get my
btrfs sent backups even though they are a few weeks old,
thankfully I'm pretty sure everything changed since then is
either updates, in git or in Dropbox.
Thanks for the information and help anyway.
On Sat, Dec 7, 2013 at 2:59 PM, Duncan <1i5t5.duncan@cox.net> wrote:
> Niklas Schnelle posted on Sat, 07 Dec 2013 12:37:05 +0000 as excerpted:
>
>> root 470 inode 60984 errors 200
>> root 470 inode 62463 errors 200
>
> Three quick things to note:
>
> 1) As another thread pointed out recently, that's not 200 errors, but an
> error type bitmask, with the 0x200 bit set. Based on that other thread
> (I'm not a dev and haven't actually looked myself), there's comments/
> varnames in the code (unfortunately only, no non-dev admin-level
> documentation anywhere that I know of) saying what each bitflag
> represents.
>
> 2) I had meant to mention earlier but forgot: As announced on this list
> IIRC shortly after the kernel 3.12 release, btrfs-progs is now versioned
> similar to the kernel and will follow a similar release schedule as long
> as the level of new code warrants (possibly skipping kernel versions here
> and there as the code ultimately stabilizes and churn slows down), with
> the first release following that version scheme being 3.12.
>
> Your reported version number is v0.20-rc1, no git commit snapshot
> indication, and IIRC that was released late last year, so it's about a
> year old now. You may wish to try something a bit newer, to match your
> 3.13-release-candidate kernel version. There have been a number of fixes
> since v0.20-rc1 (including btrfsck being made part of the main btrfs
> command now, as btrfs check) and it's just possible a current version may
> fix your issues.
>
> 3) You asked in what might have been a private mail as I didn't see it
> hit the list, what liveCD, etc, to use, since it's a rootfs btrfs that
> you're working with. The list mail I'm replying to says you tried a live
> stick (doesn't say the version), so you've worked around that to some
> extent, but as a more general followup based on the multiple independent
> btrfs partitions scheme I use that I mentioned earlier in the thread...
>
> One of the best setups I've come up with over a decade's worth of
> experience here is, as I said, multiple independent partitions, with the
> first level backup actually on an identically sized partition on the same
> physical device.
>
> So I have a working rootfs and a rootbak, identically sized independent
> partitions, with snapshot copy of the working root taken at a point I'm
> comfortable that it's stable. There's further copies on other (also
> bootable) media, on reiserfs in case the after all still under heavy
> development btrfs blows up both my working root and primary backup.
>
> That very nicely solves the whole rescue disk issue, since I effectively
> have my entire installed and configured system, *NOT* just a few rescue
> tools, as a snapshot taken when I did the backup, as ready to go now as
> it was when I did the backup, even if it's slightly out of date now and
> would need an update to bring it current. That means all documentation,
> a fully configured X and kde install, media players so I can listen to
> music while I'm fixing the system, it's all there and ready to go, just
> as it was at the time I did the backup.
>
> (I actually keep multiple fstab layouts around too, maintained with a
> script so I can update one and run the script to update the others, with
> fstab itself actually being a symlink to the active one, making selecting
> an fstab layout as easy as updating a symlink from single-user-mode.)
>
> --
> Duncan - List replies preferred. No HTML msgs.
> "Every nonfree program has a lord, a master --
> and if you use the program, he is your master." Richard Stallman
>
> --
> 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
next prev parent reply other threads:[~2013-12-07 15:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-07 10:36 Can't remove empty directory after kernel panic, no errors in dmesg Niklas Schnelle
2013-12-07 11:23 ` Duncan
2013-12-07 12:37 ` Niklas Schnelle
2013-12-07 13:59 ` Duncan
2013-12-07 15:01 ` Niklas Schnelle
2013-12-07 15:35 ` Niklas Schnelle [this message]
2013-12-07 15:37 ` Niklas Schnelle
2013-12-07 22:30 ` Chris Murphy
[not found] ` <CADdntNuhrD8Dr3qSDXN3JbdJK8SFwmj_r5o0_k30EsfjUOzkGg@mail.gmail.com>
2013-12-09 20:21 ` Chris Murphy
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=CADdntNvokc0sUdfaMjUMhe7+pYoPYv6qwSZGZ691SHZc9tPihQ@mail.gmail.com \
--to=niklas.schnelle@gmail.com \
--cc=1i5t5.duncan@cox.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).