Reducing the size of /

bsd bsd at todoo.biz
Fri May 12 09:28:53 PDT 2006


Hi again,

Most of the files that are "large" seems to be located in /usr/ports/ 
distfiles/

What will be the effect of deleting some of these files ?



root:abcdef 18:14 ~ # find -x / -size +10000 -print
/boot/kernel/kernel
/boot/kernel.old/kernel
/root/tmp/dcc.tgz
/usr/local/etc/cvsup/sup/src-all/checkouts.cvs:RELENG_5_3_RELEASE
/usr/local/etc/cvsup/sup/src-all/checkouts.cvs:RELENG_5_3_0_RELEASE
/usr/local/etc/cvsup/sup/src-all/checkouts.cvs:RELENG_5_4
/usr/local/etc/cvsup/sup/ports-all/checkouts.cvs:.
/usr/ports/INDEX-5
/usr/ports/distfiles/emacs-21.3.tar.gz
/usr/ports/distfiles/gettext-0.13.1.tar.gz
/usr/ports/distfiles/xorg/X11R6.7.0-src1.tar.gz
/usr/ports/distfiles/xorg/X11R6.7.0-src3.tar.gz
/usr/ports/distfiles/xorg/X11R6.8.1-src1.tar.gz
/usr/ports/distfiles/xorg/X11R6.8.1-src3.tar.gz
/usr/ports/distfiles/xorg/X11R6.8.2-src1.tar.gz
/usr/ports/distfiles/xorg/X11R6.8.2-src3.tar.gz
/usr/ports/distfiles/bdb/db-4.3.29.tar.gz
/usr/ports/distfiles/ezm3/ezm3-1.2-src.tar.bz2
/usr/ports/distfiles/gettext-0.14.1.tar.gz
/usr/ports/distfiles/perl-5.8.6.tar.bz2
/usr/ports/distfiles/apache21/httpd-2.1.2-alpha.tar.gz
/usr/ports/distfiles/apache21/httpd-2.1.3-alpha.tar.bz2
/usr/ports/distfiles/apache21/httpd-2.1.4-alpha.tar.bz2
/usr/ports/distfiles/python/Python-2.4.tgz
/usr/ports/distfiles/python/Python-2.4.1.tgz
/usr/ports/distfiles/python/Python-2.4.2.tgz
/usr/ports/distfiles/gettext-0.14.4.tar.gz
/usr/ports/distfiles/gettext-0.14.5.tar.gz
/usr/ports/distfiles/perl-5.8.7.tar.bz2
/usr/ports/distfiles/apache2/httpd-2.0.54.tar.bz2
/usr/ports/distfiles/bind-9.3.2.tar.gz
/usr/ports/distfiles/perl-5.8.8.tar.bz2
/usr/ports/distfiles/clamav-0.88.1.tar.gz
/usr/ports/distfiles/mysql-4.1.18.tar.gz
/usr/ports/distfiles/clamav-0.88.2.tar.gz
/usr/ports/distfiles/mysql-4.1.19.tar.gz
/usr/ports/INDEX.db
/usr/ports/INDEX-5.db
/usr/ports/INDEX
/usr/ports/INDEX-6
/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc_int/libcc_int.a
/usr/obj/usr/src/gnu/usr.bin/cc/cc_int/libcc_int.a
/usr/obj/usr/src/sys/GENERIC/kernel
/var/db/pkg/pkgdb.db
/var/db/mysql/ibdata1
/var/db/mysql/ib_logfile0
/var/db/mysql/ib_logfile1
/var/named/var/log/dns.log.0
/var/amavis/.spamassassin/auto-whitelist


Thks again.


Le 12 mai 06 à 18:20, Bill Moran a écrit :

> 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.
>

________________________________________________
«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Gregober ---> PGP ID --> 0x1BA3C2FD
bsd @at@ todoo.biz
________________________________________________
«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯





More information about the freebsd-questions mailing list