On Thu, Nov 06, 2014 at 01:03:45PM +0000, GuangYang wrote:
> 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,
Data corruption doesn't trigger EIO errors. EIO errors from the
underlying storage might cause data corruption, but the only thing
that can detect bad data is the application itself, not the kernel.
> 2) data is still accessible but the content is changed.
Again, data being incorrect is generally not a filesystem issue
unless there's a bug somewhere in the filesystem IO path. You'll
need to give us a *lot* more information about your storage and
application workload if you think XFS is corrupting data. Start