From: Anatol Pomozov <anatol.pomozov@gmail.com>
To: linux-btrfs@vger.kernel.org
Cc: Frank Holton <fholton@gmail.com>
Subject: Re: How to fix/remove "csum failed ino" error
Date: Sat, 16 Nov 2013 04:06:10 -0800 [thread overview]
Message-ID: <CAOMFOmUXKntgXnOTV=ZVPs==1Tun4KZg-_oGxaiM5Xc5NpP2zA@mail.gmail.com> (raw)
In-Reply-To: <CAOMFOmWB0ojMDAFF=AJti6Nit+3UUutYDYaAVgnfM113aVRVGg@mail.gmail.com>
Hi
Follow-up for the issue. I stuck with this "invalid csum for free
space extent" error. Could anyone explain what does it mean? If this
is not data and just a free space, why do we care about its checksum?
And if we do really care then btrfs should have a way to fix this
error. I can "fix" a file checksum error by removing the file, but how
to "fix" free space extent checksum error?
I decided to run --init-csum-tree to see if it fixes the issue with
free space csum. I expected that it will recalculate csum for data.
And found that it cleared csum tree completely and made my fs became
unusable. Any read returns csum error. The data is still on disk - I
can read it with filefrag+btrfs-map-logic+dd - it is just csum
information that got dropped. So I want to echo the request from Robin
http://www.spinics.net/lists/linux-btrfs/msg25271.html
Information about --init-csum-tree should be documented. What is the
use-case for this feature? In fact I expected that it will recalculate
the csum tree based on the data, not clear the tree.
So I endup with reinstalling my system and copying data from backups.
Despite all my complains I still think btrfs is a great filesystem. I
really enjoy their multi-device support that allows me to use all my
different HDDs that I have. Thanks for your work, everyone!
next prev parent reply other threads:[~2013-11-16 12:06 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-07 14:42 How to fix/remove "csum failed ino" error Anatol Pomozov
2013-11-07 16:41 ` Frank Holton
2013-11-08 4:07 ` Anatol Pomozov
2013-11-08 4:55 ` Anatol Pomozov
2013-11-08 5:27 ` Frank Holton
2013-11-08 5:56 ` Chris Murphy
2013-11-08 8:13 ` Hugo Mills
2013-11-08 17:22 ` Chris Murphy
2013-11-09 2:50 ` Anatol Pomozov
2013-11-16 12:06 ` Anatol Pomozov [this message]
2013-11-16 12:23 ` Hugo Mills
2013-11-16 20:54 ` Duncan
2013-11-16 22:17 ` 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='CAOMFOmUXKntgXnOTV=ZVPs==1Tun4KZg-_oGxaiM5Xc5NpP2zA@mail.gmail.com' \
--to=anatol.pomozov@gmail.com \
--cc=fholton@gmail.com \
--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).