Thread (10 messages) 10 messages, 4 authors, 2017-08-20

Re: Estimate xfs_repair run time

From: Dave Chinner <david@fromorbit.com>
Date: 2017-08-20 02:04:41

On Sat, Aug 19, 2017 at 06:39:58PM +0200, Gionatan Danti wrote:
quoted
{yes, yes, depends on which spindle(s) metadata end up on and how many
files cross AGs} in that order. :)
Mmm ok, as expected :)
Do you have any direct experience of xfs_repair run times on big and
full XFS filesystems?
Yes. And there's no hard and fast number we can give you because
runtime will depends on the amount and density of the metadata, the
speed of the underlying storage, how much RAM you have and how badly
corrupted the filesystem is.

IOWs, runtime can vary from a few minutes to a few days as you vary
those parameters, and there's really no way to tell in advance where
in that massive variance any specific production filesystem will
land.

Doing a test run (xfs_repair -n) to get a ballpark figure during a
planned downtime period is the only way you'll get any idea of the
*best case* repair duration on a *clean* filesystem. But the moment
repair finds corruptions, all guesses you can make about runtime go
out the window...

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help