> Good Morning,
> 
> I have recently installed FreeBSD 4.9  and have thoroughly enjoyed my first
> foray into the BSD world. Indeed my first foray into any non-windows OS. So
> far I have encountered quite a few problems but have always managed to find
> an answer in the handbook or by searching through the extensive resources
> available on the net. Great documentaion! This is the first time I have
> needed to ask a question.

Good.


> My / filesystem is full. 109%. I want to know what is on the / filesystem,
> what I can get rid of, how to get rid of it and how to make sure that it
> doesn't happen again.

First, use the program to check usage of a disk.
Since it is / that is overfull, 
log in or su to root
   cd /
   du -sk *

Then find out which directory trees or files are using up
all the space.
CD in to those directories and do the same thing until you 
find some things that seem unexpectedly large or unnecessary.
Then you can delete unneeded things.

In spite of a pretty good system, upgrades and installs can use
up space and leave extra stuff lying around.   Some of them clean
up after themselves well and some don't do so well.

As for the amount of space you need in a / filesystem, I think
that the 128 MB is unrealistic.   If you have just a base system
and stay right on top of it all the time, you can get by with that
amount.   With disks being so much larget nowdays, I let myself
have more, maybe double or so.   But, on the machine I am on at
the moment, although I have a bigger root, only 43 MB of it is used.

The next thing is to figure out your whole disk partitioning scheme.
Generally I make sure that /var and /usr either are separate file
systems or at least that the parts of them such as /var/spool
and /var/log and /usr/ports and /usr/src and /usr/local are all
moved to some big space and symlinked.

Without knowing more about what you have where, it isn't possible
to say anything more specific.

////jerry

> 
> Any thoughts?
> 
> For background information: 
> 
> The / filesystem is the suggested default of 128mb. The handbook says that
> root is generally about 40mb of data and that 100mb should be enough to
> allow for future expansion needs, so 128mb should be adequate.
> 
> During installation I installed everything, sources, ports, documentation,
> etc.
> 
> I have CVSuped source to RELENG_4_9.
> 
> I have CVSuped ports.
> 
> I have recompiled the kernel 3 or 4 times.
> 
> I have redirected the /tmp directory to /usr/tmp  (these locations are from
> memory but you get the idea)
> 
> I got a bit carried away installing ports during installation (a kid in a
> candy store?) and currently have about 206 installed.
> 
> I have been updating ports recently using portupgrade with the recursive
> switches -rR. 
> 
> At the time the first filesystem full error message was seen I was
> portupgrading arts -Rr which was upgrading a lot of other ports as well.
> That process stopped with an error message stating that a conflict between
> xfmail and qt existed and that qt could not be upgraded untill xfmail was
> deinstalled so there may be a lot of working data still on the system. Would
> that be on root?
> 
> Thanks for your help,
> 
> Ron Joordens
> Melbourne, Australia
> 
> 
> 
> 
> _______________________________________________
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to