EIO and data corruption on XFS file system

GuangYang yguang11 at outlook.com
Sun Nov 9 20:54:35 CST 2014


Thanks Emmanuel. That clarifies things a lot.

Thanks,
Guang

----------------------------------------
> Date: Thu, 6 Nov 2014 15:27:41 +0100
> From: eflorac at intellique.com
> To: yguang11 at outlook.com
> CC: xfs at oss.sgi.com
> Subject: Re: EIO and data corruption on XFS file system
>
> Le Thu, 6 Nov 2014 13:03:45 +0000
> GuangYang <yguang11 at outlook.com> écrivait:
>
>> Hello,While working on the storage system, I got one question in
>> terms of the XFS utilities to fix file system corruption. Basically,
>> our storage system put 3 copies of data and the system would detect
>> data inconsistency on regular basis, there are two patterns we
>> observed so far: 1) the data is corrupted which result in an EIO, 2)
>> data is still accessible but the content is changed. I am wondering
>> the way to fix such issues from file system's perspective, do we
>> expect hardware failure for both cases or some xfs repairing tools
>> could help for such case?
>
> XFS relies on the underlying hardware to maintain data integrity. The
> latest XFS version comes with metadata checksums, which allows
> correcting invalid data in filesystem structures, but not data.
>
> Generally speaking, if the data is corrupted because of faulty hardware,
> xfs_repair can't help.
>
> regards,
> --
> ------------------------------------------------------------------------
> Emmanuel Florac | Direction technique
> | Intellique
> | <eflorac at intellique.com>
> | +33 1 78 94 84 02
> ------------------------------------------------------------------------
 		 	   		  


More information about the xfs mailing list