Accidental FS corruption: Mapping files to blocks

Roger Willcocks roger at filmlight.ltd.uk
Wed Feb 24 07:10:30 CST 2016


On 24 Feb 2016, at 03:37, Paul Cannon <paul.cannon3128 at gmail.com> wrote:

> I have accidentally damaged my XFS, and need help (and a little prayer). The way it happened will provide your daily amusement dose (and hopefully a lesson).
> ...
> * Luckily I have old copy of the original data!
> So I did a rsync -rvn /olddata/ /xfsB
> Nothing! No difference in any data files. I even tried mirrordir, same thing -- nothing, no difference!
> 
> * Here is what I think is going on, and I need help.
> I suspect that the access time of the file/files stored at this location are perhaps in another location in inode (does this sound correct? I am a newbie to XFS). But the data itself has changed at the location.
> 

That seems likely. Try

rsync —ignore-times

—
Roger



More information about the xfs mailing list