Re: 3.9.0: XFS rootfs corruption

CAI Qian
2013-06-04T04:48:22Z

> From: "Dave Chinner" <david@fromorbit.com>
> To: "CAI Qian" <caiqian@redhat.com>
> Cc: "Eric Sandeen" <sandeen@sandeen.net>, xfs@oss.sgi.com
> Sent: Tuesday, June 4, 2013 12:36:10 PM
> Subject: Re: 3.9.0: XFS rootfs corruption
>
> On Mon, Jun 03, 2013 at 04:09:06AM -0400, CAI Qian wrote:
> [snip]
>
> > :/# xfs_repair -L /dev/mapper/rhel_ibm--p720--01--lp4-root
> > Phase 1 - find and verify superblock...
> > Phase 2 - using internal log
> ....
>
> Now that you've repaired the filesystem, can you reproduce the
> problem?
>
> It looks somewhat like the same bug we fixed in 3.8-rc4 that Dave
> Jones hit (37f1356 xfs: recalculate leaf entry pointer after
> compacting a dir2 block), but if you've never repaired the damage on
> disk that this problem caused then you'll just keep tripping over
> it.
>
> So, can you reproduce the problem now on this machine/filesystem?
After repaired, the system can be booted up successfully. If I want
to corrupt it again, I suppose I'll need to re-run the workload, i.e.,
1) trinity
2) xfstests
3) kdump reboot.
CAI Qian
>
> Cheers,
>
> Dave.
> --
> Dave Chinner
> david@fromorbit.com