Metadata CRC error upon unclean unmount

Dave Chinner david at fromorbit.com
Wed Jun 25 18:22:22 CDT 2014


On Thu, Jun 26, 2014 at 12:33:06AM +0200, Fanael Linithien wrote:
> 2014-06-26 0:03 GMT+02:00 Dave Chinner <david at fromorbit.com>:
> > Can you try to reproduce the AGI or AGF/freespace corruption issue
> > and post the results?
> 
> Sure, looks like the bug heard you and decided to manifest itself right now.
> 
> dmesg: https://clbin.com/g52eu (the second mount error is because I
> typo'd and tried to mount wrong partition)
> Metadata before an attempt to mount: https://clbin.com/YDZBV

Curious. Completely clean log. head/tail at 2/16292. Yet the AGF
head and a couple of btree blocks are have bad CRCs. They were on
disk *before* the system crashed.

> Metadata after an attempt to mount: https://clbin.com/2jayF

Dirty log. tail at 2/16292, head at 2/16332.

The before-mount image shows the CRC error, so it didn't come from
log recovery. It may have come from recovery in the previous
iteration, - do you still have the pre-mount images from the prior
iteration before the crash error was detected?

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com



More information about the xfs mailing list