On 11/06/2014 07:03 AM, 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, 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_repair addresses filesystem metadata inconsistencies/corruption. It does not inspect file contents. If a file is corrupted xfs_repair can do nothing for you. If you're seeing inconsistencies in file data the problem is not XFS but something else, possibly hardware, as you suspect. What hardware is this? What RAID controllers? Cheers, Stan _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs