/tmp full (newbie)

Alex de Kruijff freebsd at akruijff.dds.nl
Sat Feb 14 13:50:22 PST 2004


On Thu, Feb 12, 2004 at 08:26:24PM +0100, gaf wrote:
> Hello.
> Im a newbie to unix and FreeBSD. I have 5.2 installed. When installing I 
> followed the advice in The Complete FreeBSD and made the following 
> partitions:
> /                     4G
> swap          800M
> /home           35G
> I have KDE 3.2  installed I have done cvsup on src and ports new kernel 
> etc etc.
> Today I tried to install a new browser and I got the information that my 
> filesystem is full.  When I tried to start KDE I got the message that 
> /tmp is full. I would really apprecite some help. What to do?? Can I 
> give you some other info and if so what and how???
> Many thanks Gaf

Hi,

If you've install KDE thougth the ports system then do:
cd /usr/ports/; make clean (or be more specific in the path)

Otherwise you can use this command to search where your disk is full:
du -s * | sort -n


But i would advise you to reinstall your system because this setup is
not the safest. If something happens to /usr /tmp or /var then this
would mean / is also affecten and that could mean that you can no longer
boot. Also having seperate partions is good for keeping the filesystem
optimized. Then diffente anti-fraqmentations can be used. Also doing
this can result in a system that works faster because the start of the
disk can be accessed faster then the end. Its usual to have the
following partions in this order:

/	256M; allows faster boot)
swap	allowed faster memory writes than if you where to have this
	afhter 4G
/var	256M; allows fast writting of logfiles
The remainder of the partions:
/tmp	I have this 5G because I also place the working directory of
	the ports here and /usr/obj and like to install openoffice and
	java
/usr	I have this 3G7 but that is full for 95% (which i will solve by
	moving /usr/src and /usr/ports; its an X-system with two users
	and openoffice+kde installed)
/other-partions

--
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/


More information about the freebsd-questions mailing list