From: Hugo Mills <hugo@carfax.org.uk>
To: Timofey Titovets <nefelim4ag@gmail.com>
Cc: linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: Csum I/O Error
Date: Tue, 15 Sep 2015 20:38:15 +0000 [thread overview]
Message-ID: <20150915203815.GC28645@carfax.org.uk> (raw)
In-Reply-To: <CAGqmi77Y3qiEs7aVwXQ-VT9b0yF4ViAA1szMicY5_GEXQaRYVw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 912 bytes --]
On Tue, Sep 15, 2015 at 10:59:48PM +0300, Timofey Titovets wrote:
> Hi list,
> i've catch a io error, caused by csum mismatch
> Can i force fs to read data?
> This is really not a cool, if only way is use btrfs restore.
>
> #Info vm machin, after power failure get 2 blocks with errors, and one
> mysql table, can't be readed by mysql (and also, i can't just dump it)
The data is corrupt, or at the very least deeply untrustworthy. At
this point, the easiest thing to do is use dd_rescue or ddrescue on
it, which will skip the unreadable sectors and replace them with
zeroes -- which is no worse than the random data you're likely to
encounter from reading the broken data that the FS is (rightly)
protecting you from.
Hugo.
--
Hugo Mills | A diverse working environment: Di longer you vork
hugo@... carfax.org.uk | here, di verse it gets
http://carfax.org.uk/ |
PGP: E2AB1DE4 |
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2015-09-15 20:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-15 19:59 Csum I/O Error Timofey Titovets
2015-09-15 20:38 ` Hugo Mills [this message]
2015-09-15 20:50 ` Timofey Titovets
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=20150915203815.GC28645@carfax.org.uk \
--to=hugo@carfax.org.uk \
--cc=linux-btrfs@vger.kernel.org \
--cc=nefelim4ag@gmail.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).