xfs_repair in traversing filesystem

Peter Grandi pg_xf2 at xf2.to.sabi.co.UK
Wed Mar 2 13:47:02 CST 2011


> Our 35TB XFS filesystem developed some problems and was
> throwing these: [ ... ]

How many drives support that filesystem?
How many inodes does it have?

> so we're running xfs_repair on this filesystem.  It finds this
> inode and everything looks good, but then it hangs at [ ... ]
> - traversing filesystem ...  previous posts suggest running
> xfs_repair -P -o bhash=1024 [ ... ]

It depends on how fast you expect that to happen and how much
memory you have. 'man xfs_repair' says that "The default size is
set to use up the remainder of 75% of the system's physical RAM
size" which seems pretty good to me. You may want to increase
the '-o ihash' value too, or '-m'. Also check the '-P' option.

BTW I just noticed in the same 'man xfs_repair' the option that
"can significantly reduce repair times on concat based filesystems"
which is so amusing...




More information about the xfs mailing list