determine ufs2 %fragmentation on mounted filesystem

Kris Kennaway kris at
Wed Feb 9 09:10:40 PST 2005

On Wed, Feb 09, 2005 at 10:34:33AM -0600, Nathan Kinkade wrote:
> Does anyone know of a way to determine the %fragmentation on a mounted
> UFS2 filesystem?  An entry showed up in messages yesterday stating that
> /usr has moved from time to space optimization yet the filesystem is
> only at about 25% of it's capacity.  From what I can read it seems that
> the kernel might also make this switch if fragmentation becomes
> excessive.  However, this is a busy production machine running Squid, so
> I can't conveniently umount /usr.

Try dumpfs(8).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list