[Top] [All Lists]

Re: xfs_repair gets stuck on phase3

To: Pavol Zibrita <pavol.zibrita@xxxxxxxxx>
Subject: Re: xfs_repair gets stuck on phase3
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Mon, 12 Dec 2011 08:12:55 -0500
Cc: xfs@xxxxxxxxxxx
In-reply-to: <CAENWQX0FgOrTiDVaictZkNfnpBR40DWrHsWrysPHDvdoqvcw5A@xxxxxxxxxxxxxx>
References: <CAENWQX0FgOrTiDVaictZkNfnpBR40DWrHsWrysPHDvdoqvcw5A@xxxxxxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Sun, Dec 11, 2011 at 09:20:14PM +0000, Pavol Zibrita wrote:
> I tried various option for xfs_repair, but when in phase 3, it just
> calculates and calculates and does nothing.
> CPU is used around 97%.
> Examining the system with knoppix live cd.
> Attaching logs with the outputs.
> log.log: xfs_repair
> p-log.log: with -P
> strace-log.log stracing xfs_repair
> After using the -L option I can mount the fs, but there are still bugs on
> the filesystem I would like to fix.
> Currently, I don't have any other 4TB of space I could move the data to
> make some more drastic changes
> like reformat or so.

As Dave mentioned my fix for loops in the unlinked inode list is a
likely candidate.  If you can prepare a dump of the metadata using the
xfs_metadump tool for me I can take a look.  If it indeed were the
unlinked inode lists we could also fix your issues fairly easily using

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