filesystem fragmentation stats?

Damian Menscher menscher at
Fri Jul 8 21:55:55 UTC 2005

Let me preface this by saying "Yes, I know *nix filesystems don't need 
to worry about fragmentation".

That said, is there a way to check the overall level of fragmentation of 
a live ext3 filesystem?  I know about filefrag, but that's for specific 
files.  And I think e2fsck tells you, but only if you take the 
filesystem offline for the scan.  Is there anything that will give a 
percentage for a *live* filesystem?  (I have a fs that's been at >95% 
usage for quite some time, and I want to check for any fragmentation 
that could have resulted.)

Damian Menscher
-=#| Physics Grad Student & SysAdmin @ U Illinois Urbana-Champaign |#=-
-=#| 488 LLP, 1110 W. Green St, Urbana, IL 61801 Ofc:(217)333-0038 |#=-
-=#| 4602 Beckman, VMIL/MS, Imaging Technology Group:(217)244-3074 |#=-
-=#| <menscher at> Fax:(217)333-9819 |#=-
-=#| The above opinions are not necessarily those of my employers. |#=-

More information about the Ext3-users mailing list