determine ufs2 %fragmentation on mounted filesystem
kris at obsecurity.org
Wed Feb 9 13:42:33 PST 2005
On Wed, Feb 09, 2005 at 11:30:57AM -0600, Nathan Kinkade wrote:
> On Wed, Feb 09, 2005 at 09:10:39AM -0800, Kris Kennaway wrote:
> > 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
> I had already tried dumpfs, but couldn't find any information about
> actual filesystem fragmentation in the output.
Actually, I think you're right..the 'frag' reported there is the
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050209/952f1080/attachment.bin
More information about the freebsd-questions