xfsprogs-2.0.3

XFS kernel patch

Download location (HTTP):       
Download location (FTP):        ftp://oss.sgi.com/projects/xfs/download/patches/2.4.20/xfs-2.4.20-all-i386.bz2
Version used:                   2.4.20
Package size:                   840 KB
Estimated Disk space required:  Varies with options

The XFS kernel patch must be applied to use XFS filesystems

Patching Linux-2.4.20 for XFS

Build an XFS-enabled Linux 2.4.20 kernel with the following commands:

cd /usr/src/linux &&
make mrproper &&
bzcat ../xfs-2.4.20-all-i386.bz2 | patch -Np1 &&
make menuconfig &&
make dep &&
make bzImage &&
make modules &&
make modules_install &&
cp arch/i386/boot/bzImage /boot/vmlinuz-xfs &&
cp System.map /boot/System.map-xfs

Introduction to XFS

Download location (HTTP):       
Download location (FTP):        ftp://oss.sgi.com/projects/xfs/download/Release-1.1/cmd_tars/xfsprogs-2.0.3.src.tar.gz
Version used:                   2.0.3
Package size:                   740 KB
Estimated Disk space required:  31 MB

The xfsprogs package contains administration and debugging tools for the XFS filesystem.

Installation of xfsprogs

Install xfsprogs by running the following commands:

./configure &&
make &&
make install

Contents

xfsprogs contains xfs_growfs, xfs_admin, xfs_freeze, xfs_mkfile, xfs_check, xfs_bmap, xfs_rtcp, xfs_repair, xfs_db, xfs_logprint, xfs_ncheck, mkfs.xfs and fsck.xfs.

Description

xfsgrowfs

xfsgrowfs expands an XFS filesystem.

xfs_admin

xfs_admin changes the parameters of an XFS filesystem.

xfs_freeze

xfs_freeze suspends access to an XFS filesystem.

xfs_mkfile

xfs_mkfile creates an XFS file, padded with zeroes by default.

xfs_check

xfs_check checks XFS filesystem consistency.

xfs_bmap

xfs_bmap prints block mapping for an XFS file.

xfs_rtcp

xfs_rtcp copies a file to the real-time partition on an XFS filesystem.

xfs_repair

xfs_repair repairs corrupt or damaged XFS filesystems.

xfs_db

xfs_db is used to debug an XFS filesystem.

xfs_logprint

xfs_logprint prints the log of an XFS filesystem.

xfs_ncheck

xfs_ncheck generates pathnames from inode numbers for and XFS filesystem.

mkfs.xfs

mkfs.xfs constructs an XFS filesystem.

fsck.xfs

fsck.xfs simply exits with a zero status, since XFS partitions are checked at mount time.