Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Mar 2007 22:35:25 +0100
From:      Ivan Voras <ivoras@fer.hr>
To:        freebsd-questions@freebsd.org
Subject:   Re: defrag
Message-ID:  <es7gv6$3is$1@sea.gmane.org>
In-Reply-To: <539c60b90703010849x33dd4bbbt8f6ca6aa0c8e83a0@mail.gmail.com>
References:  <539c60b90703010849x33dd4bbbt8f6ca6aa0c8e83a0@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig5BD5ED00E55070DB68C83F02
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Steve Franks wrote:
> How come I never hear defrag come up as a topic, and can't find
> anything related to defrag in the ports tree?  Is it really not an
> issue on UFS?  Can someone point me to an explantion if so?

fsck will tell you the level of fragmentation on the file system:

> fsck /usr
** /dev/ad0s2g (NO WRITE)
** Last Mounted on /usr
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
352462 files, 2525857 used, 875044 free (115156 frags, 94986 blocks,
3.4% fragmentation)

This is from a /usr system that's been in use for years. (note that
"frags" in the last line refer to file system fragments - "subblocks",
not fragmented files).



--------------enig5BD5ED00E55070DB68C83F02
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF50ckldnAQVacBcgRApmfAKCjk285vfjoH37T01EO4q9FJuQYfwCdGNZM
80+NN/27SQDItL47AuPDtB8=
=ECdt
-----END PGP SIGNATURE-----

--------------enig5BD5ED00E55070DB68C83F02--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?es7gv6$3is$1>