Thanks Stan. My comments inline...
> Date: Thu, 6 Nov 2014 11:55:56 -0600
> From: stan@xxxxxxxxxxxxxxxxx
> To: yguang11@xxxxxxxxxxx; xfs@xxxxxxxxxxx
> Subject: Re: EIO and data corruption on XFS file system
> On 11/06/2014 07:03 AM, GuangYang wrote:
>> 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?
We are using the following disk:
Disk: sdl (hpsa0): 6.0TB (23%) RAID-0 == 1 x 6TB 7.2K SATA 300MB/s
Disk-Control: hpsa0: HP Smart Array P410, FW 6.40, Cache on 0B/512MB (R/W),