Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 2002 18:39:51 -0500
From:      "Matthew Emmerton" <matt@gsicomp.on.ca>
To:        "I am Insane" <admin@iaminsane.net>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Cleaning up /]
Message-ID:  <00ea01c28524$a40b3530$1200a8c0@gsicomp.on.ca>
References:  <3DC8558D.2030304@iaminsane.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> I need some help. I'm not a complete newbie but I'm new enough to not
> know which files are actually needed in my / filesystem.
>
> my current df -k shows
>
> Filesystem  1K-blocks   Used    Avail Capacity  Mounted on
> /dev/ad0s1a    100750  82898     9792    89%    /
> /dev/ad0s1g  10080382 766404  8507548     8%    /usr
> /dev/ad0s1h  15421366  26432 14161226     0%    /usr/home
> /dev/ad0s1e    201518   3332   182066     2%    /var
> /dev/ad0s1f   2015918    144  1854502     0%    /var/mail
> procfs              4      4        0   100%    /proc
>
> and I am aware that if / gets to 100% the system has a good chance of
> crashing.
>
> how can I tell what files can be removed in order to free up some space?

In a properly-configured system, the files in / shouldn't change (nor should
new files be added), so / should should stay at 89% used indefinitely.

By default, user home directories are in /usr/home (which has lots of free
space), and system logs and mail are in /var (which also has lots of space.)

> and/or how can i tell which files are the largest and need to be
addressed?

I wouldn't delete any files from / unless you're 110% sure that they're not
needed.

--
Matt Emmerton


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00ea01c28524$a40b3530$1200a8c0>