
On 09/11/12 11:28, Trent W. Buck wrote:
The fix for this is in userspace: free up some space, then for each file on the filesystem, read it out and write it back.
Or, if you are using ext4 with extents enabled, use the e4defrag program in e2fsprogs. DESCRIPTION e4defrag reduces fragmentation of extent based file. The file targeted by e4defrag is created on ext4 filesystem made with "-O extent" option (see mke2fs(8)). The targeted file gets more contiguous blocks and improves the file access speed. target is a regular file, a directory, or a device that is mounted as ext4 filesystem. If target is a directory, e4defrag reduces fragmentation of all files in it. If target is a device, e4defrag gets the mount point of it and reduces fragmentation of all files in this mount point. cheers, Chris -- Chris Samuel : http://www.csamuel.org/ : Melbourne, VIC