xfs
[Top] [All Lists]

Re: filesystem shrinks after using xfs_repair

To: xfs@xxxxxxxxxxx
Subject: Re: filesystem shrinks after using xfs_repair
From: Stan Hoeppner <stan@xxxxxxxxxxxxxxxxx>
Date: Sat, 10 Jul 2010 03:16:26 -0500
In-reply-to: <F2D7937E-43FC-47F4-B041-B9C5C2CBCCD4@xxxxxxxx>
References: <F2D7937E-43FC-47F4-B041-B9C5C2CBCCD4@xxxxxxxx>
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5
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.

-- 
Stan

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