Improper shutdown of system / Fragmentation Problems / Boot
logs
Robert Storey
y2kbug at ms25.hinet.net
Tue Jun 8 17:29:01 PDT 2004
> I am kinda new to FBSD, still kinda learning stuff. Anyway, when my
> system boots i see all kinda fragmentation information. How do I
> correct this? Any good reading material?
FreeBSD will defragment itself without any action from the user.
However, defragmentation requires some blank space, and (ideally) you
should not let any partition get more than 80% full. You can check on
that with "df -h":
bob at sonic:~> df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ad0s2a 248M 68M 160M 30% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/ad0s2g 2.4G 281M 1.9G 13% /home
/dev/ad0s2e 248M 1.2M 227M 1% /tmp
/dev/ad0s2f 8.7G 2.4G 5.6G 30% /usr
/dev/ad0s2d 248M 17M 211M 8% /var
The column labeled "Capacity" tells you the percentage of space being
consumed - over 80% would be bad. Note that the "devfs" uses 100% (on
FBSD 5.x, it doesn't exist on 4.x) - that's no problem, it's not a
partition and it will always be 100%.
regards,
Robert
More information about the freebsd-questions
mailing list