determine ufs2 %fragmentation on mounted filesystem

Kris Kennaway kris at obsecurity.org
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).

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050209/d31f6b51/attachment.bin


More information about the freebsd-questions mailing list