[Top] [All Lists]

Re: EIO and data corruption on XFS file system

To: GuangYang <yguang11@xxxxxxxxxxx>, "xfs@xxxxxxxxxxx" <xfs@xxxxxxxxxxx>
Subject: Re: EIO and data corruption on XFS file system
From: Stan Hoeppner <stan@xxxxxxxxxxxxxxxxx>
Date: Thu, 06 Nov 2014 11:55:56 -0600
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <BLU175-W376F83659C1C70DE51C3D9DF840@xxxxxxx>
References: <BLU175-W376F83659C1C70DE51C3D9DF840@xxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.7.0
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?


<Prev in Thread] Current Thread [Next in Thread>