Troubleshooting log corruption

Eric Sandeen sandeen at sandeen.net
Fri Feb 7 10:56:42 CST 2014


On 2/7/14, 10:39 AM, Mike Roth wrote:
> I've recently had a few systems experience a hard failure (power
> supply failure) and our XFS file system failed to recover.  The file
> system fails to mount and I need to clear the logs before running
> repair on them.  My understanding is that XFS should be more resilient
> to this kind of issue.
> 
> I'm trying to dive a bit further into why this is happening (meta-data
> corruption) and I'm wondering if anyone can provide some suggestions
> as far as data to collect or tests to run to help understand why this
> corruption is happening on system failures.
> 
> Thank you,
> mike

First off, 

http://xfs.org/index.php/XFS_FAQ#Q:_What_information_should_I_include_when_reporting_a_problem.3F

But for starters, which kernel are you running, what did the kernel say when mount failed, what is the storage beneath the filesystem, what sort of caching does it have, and what is the status of the barrier mount option for this filesystem?

-Eric



More information about the xfs mailing list