xfs
[Top] [All Lists]

Re: Best Maintenance Practices with XFS

To: jasonw@xxxxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Best Maintenance Practices with XFS
From: AndyLiebman@xxxxxxx
Date: Fri, 24 Dec 2004 09:29:20 EST
Cc: linux-xfs@xxxxxxxxxxx
Sender: linux-xfs-bounce@xxxxxxxxxxx
Thanks for that reply, Jason. 

I just looked at the man page for xfs_fsr. It's 
a bit sketchy -- it doesn't really give good examples of what kinds of 
files it would be appropriate to use this on. 

For instance, I am storing
thousands of fairly large video and audio files -- in general, they may be 
anywhere from 10s of MBs up to 2 GBs in size. After many months and 
cyles of creating such files and deleting such files, maybe it will be 
a good idea to run xfs_fsr (I imagine that the best time to run it would be
when many files have just been deleted, and as few files as possible 
remain on a file system). 

Questions: 

1)  Does xfs_fsr reorganize "free space"? 

2)  How safe is xfs_fsr? Is there any risk in running it? 

3)  How large a benefit can be gained from running it? 

4)  Is there any utility to visually see how fragmented an xfs 
filesystem is? 

It was/is my understanding that xfs suffers far less from fragmentation
than many other filesystems (such as NTFS). Can you explain why that
is? And, once again, how can you know when fragmentation is becoming
and issue (other than "guessing" that you're seeing lowered performance)?

Hope to hear fro you and others soon. 

Happy Holidays, 
Andy Liebman


> a message dated 12/23/2004 10:23:32 PM Eastern Standard Time, 
> jasonw@xxxxxxxxxxxxxxxxxxxxxxxx writes:
> If the file system becomes highly fragmented and performance is
> important you might want to run xfs_fsr to improve it (this has
> nothing to do with "maintaining integrity", however).


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