help with xfs_repair on 10TB fs

Alberto Accomazzi aaccomazzi at gmail.com
Sat Jan 17 17:14:21 CST 2009


On Sat, Jan 17, 2009 at 1:50 PM, Eric Sandeen <sandeen at sandeen.net> wrote:
> Alberto Accomazzi wrote:
>> On Sat, Jan 17, 2009 at 12:33 PM, Eric Sandeen <sandeen at sandeen.net> wrote:
>>
>>> Alberto Accomazzi wrote:
>>>> I need some help with figuring out how to repair a large XFS
>>>> filesystem (10TB of data, 100+ million files).  xfs_repair seems to
>>>> have crapped out before finishing the job and now I'm not sure how to
>>>> proceed.
>>> How did it "crap out?
>>
>>
>> Well, in the way I described below, namely it ran for several hours and then
>> died without completing.  As you can see from the log (which captured both
>> stdout and stderr) there's nothing that indicates what terminated the
>> program.  And it's definitely not running now.
>>
>>
>>> the src.rpm from
>>>
>>> http://kojipkgs.fedoraproject.org/packages/xfsprogs/2.10.2/3.fc11/src/
>>>
>>
>> Ok, I guess it's worth giving it a shot.  I assume I don't need to worry
>> about kernel modules because the xfsprogs don't depend on that, right?

For the record, after upgrading to xfsprogs-2.10.2 as suggested by
Eric, xfs_repair completed successfully.  Unfortunately now I'm left
with dealing with quite a mess: 388K files in lost+found, with a
filesystem of over 160M inodes.  ugh...

Thanks for all your help, though...
-- Alberto




More information about the xfs mailing list