Re: XFS filesystem corruption

Dave Chinner
2013-03-10T22:11:53Z

On Thu, Mar 07, 2013 at 02:04:32PM +0100, Julien FERRERO wrote:
> > It may be unrelated to your corruption, problem but I'm curious why you
> > are specifying a 32MB log section instead of letting mkfs.xfs make the
> > log size decision.
>
> I honestly don' know, the rebuild script was written 8 years ago by an
> engineer that since left the company.
>
> Is 32MB a short log space for a 1.5 TB of data ?

Depends on your workload.

And to tell the truth, the tiny log is probably the only reason that
your filesystems have gone this long without corruption, as the
small size will force frequent log writes and hence issue cache
flushes regularly....

Cheers,

Dave.
--
Dave Chinner
david@fromorbit.com