Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 May 2006 12:52:55 -0400
From:      Robert Huff <roberthuff@rcn.com>
To:        bsd <bsd@todoo.biz>
Cc:        Liste FreeBSD <freebsd-questions@freebsd.org>
Subject:   Reducing the size of /
Message-ID:  <17508.48487.502992.913521@jerusalem.litteratus.org>
In-Reply-To: <4491F65C-CAB7-4B07-95B9-527677A29E6E@todoo.biz>
References:  <4491F65C-CAB7-4B07-95B9-527677A29E6E@todoo.biz>

next in thread | previous in thread | raw e-mail | index | archive | help

bsd writes:

>  I have three partitions on my server and would like to reduce the  
>  size of / because I am getting quite full !
>  
>  Filesystem     Size    Used   Avail Capacity  Mounted on
>  /dev/ar0s1a    3.8G    2.8G    668M    81%    /
>  devfs          1.0K    1.0K      0B   100%    /dev
>  /dev/ar0s1d     60G    1.9G     53G     3%    /home
>  
>  What are the places I could start looking in to delete not so
>  usefull files, knowing that I am syncing using portsnat (and
>  previously cvsup).

	Try this:

	du -x / | sort -nr | head -n 50

	Look for anything that's bigger than it ought to be.
	(I run variations of that on each filesystem daily; at this
point I know what should be there, and if something changes I ask
"Why?".)


				Robert Huff


	





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17508.48487.502992.913521>