filesystem fragmentation stats?

evilninja evilninja at gmx.net
Fri Jul 8 22:09:00 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

this was discussed *very* and again in june by Theodore:

https://www.redhat.com/archives/ext3-users/2005-June/msg00026.html

> 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. 

"tune2fs -l" tells you about "Fragments per group", and "fsck.ext2 -nv"
opens the fs read-only and print some nice stats after that.


- --
BOFH excuse #341:

HTTPD Error 666 : BOFH was here
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCzvl8C/PVm5+NVoYRAvc7AJwKRTYhWussiZquiawLNZzjSnSJ7ACg7uoU
39MB4i90ajg+ckER52pqfZ4=
=LFM+
-----END PGP SIGNATURE-----




More information about the Ext3-users mailing list