Eli Morris put forth on 7/9/2010 6:07 PM:
> Hi All,
> I've got this problem where if I run xfs_repair, my filesystem shrinks by 11
> TB, from a volume size of 62 TB to 51 TB. I can grow the filesystem again
> with xfs_growfs, but then rerunning xfs_repair shrinks it back down again.
> The first time this happened was a few days ago and running xfs_repair took
> about 7 TB of data with it. That is, out of the 11 TB of disk space that
> vanished, 7 TB had data on it, and 4 TB was empty space. XFS is running on
> top of an LVM volume. It's on an Intel/Linux system running Centos 5
> (2.6.18-128.1.14.el5). Does anyone have an idea on what would cause such a
> thing and what I might try to keep it from continuing to happen. I could just
> never run xfs_repair again, but that doesn't seem like a good thing to count
> on. Major bonus points if anyone has any ideas on how to get my 7 TB of data
> back also. It must be there somewhere and it would be very bad to lose.
> thanks for any help and ideas. I'm just stumped right now.
It may be helpful if you can provide more history (how long has this been
happening, recent upgrade?), the exact xfs_repair command line used, why you
were running xfs_repair in the first place, hardware or software RAID, what
xfsprogs version, relevant log snippets, etc.