Date: Wed, 9 Feb 2005 13:42:31 -0800 From: Kris Kennaway <kris@obsecurity.org> To: freebsd-questions@freebsd.org Subject: Re: determine ufs2 %fragmentation on mounted filesystem Message-ID: <20050209214231.GA65112@xor.obsecurity.org> In-Reply-To: <20050209173057.GX8365@gentoo-npk.bmp.ub> References: <20050209163433.GW8365@gentoo-npk.bmp.ub> <20050209171039.GD37205@xor.obsecurity.org> <20050209173057.GX8365@gentoo-npk.bmp.ub>
next in thread | previous in thread | raw e-mail | index | archive | help
--PEIAKu/WMn1b1Hv9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 th= at > > > /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 th= at > > > 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. > >=20 > > Try dumpfs(8). > >=20 > > Kris >=20 > 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 fragment size. Kris --PEIAKu/WMn1b1Hv9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCCoPHWry0BWjoQKURApdVAJ97ZejATvuUrbKGvYHd22tSCWMhZgCfcF9T eWH2CwiqtX0EQqgFiAcANtw= =iA+v -----END PGP SIGNATURE----- --PEIAKu/WMn1b1Hv9--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050209214231.GA65112>