Reducing the size of /

Bill Moran wmoran at collaborativefusion.com
Fri May 12 09:21:03 PDT 2006


bsd <bsd at todoo.biz> wrote:

> Hello,
> 
> 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 installing pkg_cutleaves port and see if it can help you clean up
unneeded ports.  Also, consider trimming down your log files in /var/log.

You can also use the "du -hd1 /" trick to narrow down where all the
space is being used.  Depending on what's installed on the server, however,
I doubt you'll be able to free up much of that space.

-- 
Bill Moran

MAL: Hell, this job I would pull for free.
ZOE: Can I have your share?
MAL: No.
ZOE: If you die, can I have your share?
MAL: Yes.



More information about the freebsd-questions mailing list