xfs

Manage XFS filesystem operations with mkfs.xfs, xfs_repair, and xfs_growfs.

6|1|Updated Feb 16, 2026
One-click install
npx skills add https://github.com/L3DigitalNet/Claude-Code-Plugins --skill xfs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xfs
Source: https://github.com/L3DigitalNet/Claude-Code-Plugins/tree/main/plugins/linux-sysadmin/skills/xfs
Command: npx skills add https://github.com/L3DigitalNet/Claude-Code-Plugins --skill xfs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive tools and knowledge for managing XFS filesystems, ensuring data integrity, performance, and efficient storage utilization.

Core Features & Use Cases

  • Filesystem Management: Create, repair, grow, and label XFS filesystems.
  • Performance Tuning: Optimize for specific workloads with options for quotas, defragmentation, and snapshotting.
  • Troubleshooting: Diagnose and resolve common XFS issues, from journal corruption to hardware failures.
  • Use Case: You need to add more space to an existing XFS filesystem on a Linux server. This Skill can guide you through resizing the underlying block device and then growing the XFS filesystem online.

Quick Start

Use the xfs skill to check the info for the filesystem mounted at /data.

Frequently Asked Questions about xfs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I grow an XFS filesystem online after resizing the underlying block device in Linux?

To grow an XFS filesystem online, resize the underlying block device first, then use the xfs_growfs command to expand the filesystem. This allows live capacity expansion without unmounting the volume.

What steps are needed to repair a corrupted XFS filesystem journal?

Repairing a corrupted XFS filesystem journal requires unmounting the filesystem and running the xfs_repair tool. This diagnoses and resolves journal corruption and common filesystem inconsistencies.

Can I defragment an active XFS filesystem without unmounting it?

Yes, XFS supports online defragmentation. You can run defragmentation operations on a mounted and active filesystem to optimize performance and reduce file fragmentation without downtime.

What is the best way to back up and restore XFS filesystem data?

The best way to back up and restore XFS filesystem data is using the xfsdump and xfsrestore utilities. These tools provide robust backup and recovery operations specifically designed for XFS.

How do I freeze an XFS filesystem for snapshot creation?

To freeze an XFS filesystem for snapshot creation, use the xfs_freeze command. This suspends and resumes filesystem operations, ensuring a consistent state for backup snapshots.

How do I manage user and group quotas on an XFS filesystem?

You manage quotas on an XFS filesystem during creation or mount operations. The filesystem supports quota management to control disk space allocation and optimize storage utilization.