How do I defragment an XFS filesystem on Red Hat Enterprise Linux.

Solution Verified - Updated -

Issue

An XFS filesystem has a high level of fragmentation, how can it be defragmented?

Environment

  • Red Hat Enterprise Linux (RHEL) 7
  • Red Hat Enterprise Linux (RHEL) 6
  • Red Hat Enterprise Linux (RHEL) 5
  • Scalable File System (XFS)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.