[mythtv-users] XFS: options when running mkfs.xfs

Phill Edwards philledwards at gmail.com
Wed Sep 5 00:51:03 UTC 2007


> I don't know of any mkfs changes, but Henk Schoneveld told me once
> that using the mount option "allocsize=512m" reduces fragmentation.
> I've been meaning to try it but haven't gotten around to it yet.
> MythTV tends to keep filesystems very close to full, and I've found
> xfs with default options will fragment and suffer reduced performance
> under these conditions if xfs_fsr isn't run periodically.

Uh-oh - urban myth flame coming here! I had always been led to believe
that unlike their Windows counterparts "unix file systems never need
defragging". I've always been a bit suss of that but as I love Linux I
was prepared to have blind faith. But it sounds like you do have to
defrag certain unix filf system types then? I also found this -
https://sourceforge.net/projects/defragfs/

What about jfs - does anyone know how to tell how fragged it is, and
how to defrag it? From what I can find online, jfsutils is the place
to start but I gather defrag was once going to be part of that but now
isn't.


More information about the mythtv-users mailing list