Symlinks shouldn't use up any more inodes than the symlink itself needs
(which is negligible).  I do question your rather odd need for symlinks
pointing to very non-traditional mount points for everything.  Why not
just mount /mnt/hda4/opt as /opt in fstab and get rid of the symlink? 
Ditto for all the others?

As for your real problem, look at "df -ih".  THat will show the  number
of inodes in use.  Do you have a large number of small files?

--- Joel Hammer <[EMAIL PROTECTED]> wrote:
> I have posted this before but didn't understand the answers,  but now
> I need to
> really do something about it.
> My / partition is filled, but the amount of data in it is minimal, to
> wit:
> 
> /dev/hda1             3.7G  3.6G     0 100% /
> /dev/hda3             1.4G  1.1G  216M  84% /mnt/hda3
> /dev/hda4              22G   17G  4.0G  81% /mnt/hda4
> /dev/hdb1              27G   18G  7.9G  69% /mnt/hdb1
> /dev/hdc1              71G   46G   21G  68% /mnt/hdc1  
>  
> [root@jhammer6 /]# du -sh auto bin boot dev etc initrd install lib
> lost+found root sbin shlib test tmp
> 2.0k    auto
> 5.9M    bin
> 3.3M    boot
> 15k     dev
> 3.6M    etc
> 1.0k    initrd
> 11k     install
> 44M     lib
> 12k     lost+found
> 46M     root
> 6.2M    sbin
> 208k    shlib
> 7.0k    test
> 80M     tmp                                                
> So, du reports less than 200 M bytes but df reports 3.6 gigs in use.
> Obviously, I do not have gigs of data on the root partition.
> 
> I have a LOT of stuff pointed to by symbolic links (about 18 gigs
> worth)in my root partition, to wit:
> rwxr-xr-x  18 root     root         1024 Dec 21 21:56 .
> drwxr-xr-x  18 root     root         1024 Dec 21 21:56 ..
> -rw-r--r--   1 root     root       429305 Jul 24 21:30 System.map
> -rw-r--r--   1 root     root       434859 Feb 17  2001 System.old
> drwxr-xr-x   3 root     root         1024 Jan  6  2001 auto
> drwxr-xr-x   2 root     root         2048 Nov 24 19:44 bin
> drwxr-xr-x   3 root     root         1024 Jul 24 21:30 boot
> drwxr-xr-x   6 root     root        11264 Dec 16 21:07 dev
> drwxr-xr-x  43 root     root         4096 Dec 24 07:33 etc
> lrwxrwxrwx   1 root     root           14 Dec 15  2000 home ->
> /mnt/hda4/home
> drwxr-xr-x   2 root     root         1024 Jul  8  2000 initrd
> drwxr-xr-x  12 root     root         1024 Jul  8  2000 install
> -rw-r--r--   1 root     root         4673 Nov 21 10:42 junkout
> drwxr-xr-x   6 root     root         2048 Sep 26 21:37 lib
> drwxr-xr-x   2 root     root        12288 Jul  8  2000 lost+found
> drwxrwxrwx  17 root     root         1024 Nov 21 10:42 mnt
> -rw-r--r--   1 root     root        98304 Dec 21 22:10 new
> lrwxrwxrwx   1 root     root           13 Jul  5 20:39 opt ->
> /mnt/hda4/opt
> dr-xr-xr-x 121 root     root            0 Dec  7 16:31 proc
> drwxr-xr-x  43 root     root         3072 Dec 24 07:29 root
> drwxr-xr-x   2 root     root         3072 Nov 10 22:32 sbin
> drwxr-xr-x   2 root     root         1024 Jul  8  2000 shlib
> drwxrwxrwt   2 root     root         1024 Nov 24 20:58 test
> lrwxrwxrwx   1 root     root           18 Jul  5 21:16 tftpboot ->
> /mnt/hda4/tftpboot
> drwxrwxrwt  54 root     root        23552 Dec 24 12:13 tmp
> lrwxrwxrwx   1 root     root           13 Jan  4  2001 usr ->
> /mnt/hda4/usr
> lrwxrwxrwx   1 root     root           13 Jul  5 21:13 var ->
> /mnt/hda4/var
> -rw-r--r--   1 root     root       897761 Feb 17  2001 vmlinux-2.4.1
> -rw-r--r--   1 root     root       863602 Jul 24 21:30 vmlinuz
> -rw-r--r--   1 root     root       636452 Sep 10  2000
> vmlinuz-NoModules
> -rw-r--r--   1 root     root       863602 Jul  4 16:05 vmlinuz-win4lin
> -rw-r--r--   1 root     root       897760 Feb 17  2001 vmlinuz.old    
>       
> 
> 
> 
> Now, my dumb question is, do the symbolic links on my root partition
> gradually
> take up more space (or use up that thing they call "inodes") as I add
> things to the linked partitions?
> What is the best way to solve this problem?

=====
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J. Friedman                          [EMAIL PROTECTED]

Linux Step-by-step help:           http://netllama.ipfox.com

                                                 .

__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com
_______________________________________________
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users

Reply via email to