xfs
[Top] [All Lists]

Re: file system defragmentation

To: linux-xfs@xxxxxxxxxxx
Subject: Re: file system defragmentation
From: "Linda A. Walsh" <xfs@xxxxxxxxx>
Date: Sun, 28 Aug 2005 21:30:58 -0700
In-reply-to: <4f52331f0508260848782f240a@xxxxxxxxxxxxxx>
References: <4f52331f050826001612f8e323@xxxxxxxxxxxxxx> <20050826101131.GA24544@xxxxxxxxx> <4f52331f0508260848782f240a@xxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
XFS_FSR has been very stable -- I've been running it since before
xfs was merged into the kernel.

I have the following file, named "fsr" in my /etc/cron.daily:
fsr:
#!/bin/bash
/usr/sbin/xfs_fsr
----
I would think /bin/sh or /bin/sh would work equally well.

_File_ fragmentation is a virtual non-issue on my disks, however,
xfs_fsr only works on my file data.  It doesn't work
on directory data.  On a 118G partition nearing 79% capacity,
printing the defragmentation data from xfs_db:

files:
actual 316870, ideal 316652, fragmentation factor 0.07%

directories:
actual 2538, ideal 1330, fragmentation factor 47.60%

I don't know about other data types (attr, symlink, quota,
realtime, realtime control) as I don't believe I have
any of those types on my volumes...But, hey, file fragmentation
seems to be handled! :-)

Linda


Fong Vang wrote:

This is very useful. Thank you. How stable is xfs_fsr?


<Prev in Thread] Current Thread [Next in Thread>