[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] RE: The filesystem [/] is getting very full



Render-Vue wrote:

> In Root I have the following:-
> 
> .bash_history
> .pinerc
> .profile
> Mail Folder <--- 2 files in it saved-messages & sent-mail
> php-4.04 folder <--- nothing in it
> php-404.tar.gz
> RaQ3-All-Kernel-4.0.1-2.216C24III.pkg
> RaQ3-All-Security-4.0.2-9353.pkg
> RaQ3-All-System-3.0.1-6168.pkg
> RaQ3-RaQ4-MySQL-3.23.36-1.pkg
> RaQ3-en-OSUpdate-3.0.pkg
> RaQ3-en-System-4.0.7-9229.pkg
> RaQ3-en-Update-OS-4.0.pkg
> RaQ3-shell-tools-1.1-2.noarch.rpm
> 
> Total roughly 62Mb
> 
> Can I safely get rid of the old rpm's & pkg's and the mail & php folder???

My guess is that you (or some other human) created the mail folder; I
don't have one, and there's no reason for one that I can see.  dito the
php folder and the php tar file; but you might want to move them to
/home and create a link for them.

> And any recommendations where I can strat to trim down elsewhere

Here's what my RaQ4 / directory looks like:

 [admin /]$ ls -al
 total 750
 drwxr-xr-x  17 root     root         1024 Nov 27 17:39 .
 drwxr-xr-x  17 root     root         1024 Nov 27 17:39 ..
 -rw-r--r--   1 root     root          343 Sep  4 14:21 .nsr
 drwxr-xr-x   2 root     root         2048 Sep  4 14:46 bin
 drwxr-xr-x   2 root     root         1024 Nov 27 13:13 boot
 drwxr-xr-x   5 root     root        34816 Nov 27 17:39 dev
 drwxr-xr-x  39 root     root         3072 Dec  6 10:19 etc
 -rw-r--r--   1 root     root         1095 Dec 15 18:18 gmon.out
 drwxr-xr-x  19 root     root         1024 Nov 21 16:06 home
 drwxr-xr-x   4 root     root         3072 Sep  4 13:13 lib
 drwxr-xr-x   2 root     root        12288 Sep  4 01:17 lost+found
 drwxr-xr-x   5 root     root         1024 Sep 14 19:21 mnt
 drwxr-xr-x  11 root     root         1024 Sep  4 14:21 nsr
 lrwxrwxrwx   1 root     root            9 Sep  4 01:19 opt -> /home/opt
 dr-xr-xr-x  67 root     root            0 Nov 27 17:38 proc
 drwxr-x---   5 root     root         1024 Nov 27 13:57 root
 drwxr-xr-x   3 root     root         2048 Nov 27 13:13 sbin
 lrwxrwxrwx   1 root     root            9 Nov 27 17:39 tmp -> /home/tmp
 drwxr-xr-x  23 root     root         1024 Nov 27 17:39 usr
 drwxr-xr-x  18 root     root         1024 Nov 27 17:39 var
 -rw-r--r--   1 root     root       691297 Jul 30 22:11
vmlinux-2.2.16C28_III.gz
 lrwxrwxrwx   1 root     root           25 Nov 27 13:13 vmlinux.gz ->
/vmlinux-2.
 2.16C28_III.gz
 drwxr-xr-x   2 root     root         1024 Sep 14 19:21 vol
 [root /usr]#

Note that a "du" shows that /var and /home are on separate partitions,
so you don't have to worry about them.

If you're not already linking /opt & /tmp, you probably should be.

Also note the contents of my /usr directory, since /usr is in /:

 [root /usr]# ls -al
 total 51
 drwxr-xr-x  23 root     root         1024 Nov 27 17:39 .
 drwxr-xr-x  17 root     root         1024 Nov 27 17:39 ..
 lrwxrwxrwx   1 root     root           12 Sep  8 20:50 X11R6 ->
/home/X11R6/
 drwxr-xr-x   3 root     root         1024 Sep  4 01:22 adm
 drwxr-xr-x   6 root     root         1024 Sep  4 01:24 admserv
 drwxr-xr-x   2 root     root        10240 Dec  6 12:38 bin
 drwxr-xr-x   2 root     root         1024 Sep  4 13:23 cgi-bin
 drwxr-xr-x   2 root     root         1024 Sep  4 01:23 cgiwrap
 drwxr-xr-x   2 root     root         1024 Sep  4 01:22 dict
 lrwxrwxrwx   1 root     root            9 Sep  8 20:38 doc -> /home/doc
 drwxr-xr-x   2 root     root         1024 Feb  6  1996 etc
 drwxr-xr-x   2 root     root         1024 Sep  4 01:26 games
 drwxr-xr-x   3 root     root         1024 Sep  3 18:30 httpd
 drwxr-xr-x   5 root     root         1024 Sep  4 01:23
i386-glibc20-linux
 drwxr-xr-x   3 root     root         1024 Sep  4 01:21 i486-linux-libc5
 drwxr-xr-x  42 root     root         4096 Sep  4 15:17 include
 drwxr-xr-x   2 root     root         8192 Sep  4 15:17 info
 drwxr-xr-x   4 root     root         1024 Sep  4 01:20 jre1.2
 drwxr-xr-x   6 root     root         1024 Sep  4 01:24 knox
 drwxr-xr-x  31 root     root         8192 Nov 27 13:19 lib
 drwxr-xr-x   4 root     root         1024 Sep  4 15:20 libexec
 drwxr-xr-x  14 root     root         1024 Sep 12 20:56 local
 lrwxrwxrwx   1 root     root            9 Sep  8 20:46 man -> /home/man
 lrwxrwxrwx   1 root     root           10 Sep  4 14:21 openv ->
/opt/openv
 drwxr-xr-x   3 root     root         3072 Dec  6 12:38 sbin
 drwxr-xr-x  19 root     root         1024 Sep  4 15:17 share
 drwxr-xr-x   5 root     root         1024 Nov 27 13:13 src
 lrwxrwxrwx   1 root     root            9 Nov 27 17:39 tmp -> /home/tmp
 [root /usr]#

Note the links here as well.

> Many thanks in advance

You're welcome.

Jeff
-- 
Jeff Lasman <jblists@xxxxxxxxxxxxx>
Linux and Cobalt/Sun/RaQ Consulting
nobaloney.net
P. O. Box 52672, Riverside, CA  92517
voice: (909) 778-9980  *  fax: (702) 548-9484