Austin Murphy on 12 Jun 2013 17:59:57 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] XFS on CentOS-5.9



On Wed, Jun 12, 2013 at 5:40 PM, JP Vossen <jp@jpsdomain.org> wrote:
Short version: what, if anything, is going to bit me for using a 26TB XFS filesystem on CentOS-5.9?

Hi JP,

I have 2 ~30TB XFS filesystems on RHEL5.   I've been very impressed, but I did come across one weird problem.

Apparently the achilles heel of XFS is lots of small files.  

One of my XFS instances supports a job that creates tons of short log files.  I've run into the condition where there are not enough of the right kind of extents and I end up not being able to write anything to the filesystem.

The way to prevent this is to periodically clean up poorly allocated extents with "xfs_fsr".  You can run it from cron.  The catch is it can't run it if you are in the problem condition.  In this case, you have to manually move a bunch of files to a different filesystem and then move them back.

Austin
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug