Re: Csum I/O Error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux