file fragmentation

Mike Berkley mberkley at active.uvic.ca
Tue Mar 12 05:12:40 AEST 1991


LS> On 6 Mar 91 13:41:13 GMT, lws at comm.wang.com (Lyle Seaman) said:

>I have few questions :
>   1 ) Is there a way to find out the  fragmentation of a file system 
>       (like the Norton utility for DOS)?

LS> SunOS and RISC/os both report fragmentation from fsck.  I don't know 
LS> about vanilla BSD.

No.  The fragmentation reported by fsck refers to how many files
(or tail ends of large files) are small enough to be placed in
block fragments.  If the file system block size is 8k, then using
full blocks for 1k files is very wasteful.  Instead the filesystem
places 8 1k files in one 8k block.

Mike Berkley
University of Victoria
mberkley at sirius@UVic.CA



More information about the Comp.unix.aix mailing list