George,
Civilme is right...3 GB is kind of small these days.
Anyways, here's a few suggestions:
#1. Check to see if there is anything you can remove from /tmp
#2. Check to see if you have log files in /var/log that end in .[1-9] or
.gz, if you see files that end in either of the above, they can be deleted.
#3. Check /var/spool/mail and do an ls -al. Several cron jobs e-mail the
root user, so it is possible that the root user's mail queue is large-- su
- to root, and delete all the cron job e-mails (it'll say cron in the from
field, I think), or for that matter if anyone is e-mailing the george
account on your machine directly, your /var/spool/mail/george file might be
big.
#4. Do an 'rpm -qai > /home/george/all.txt' (without the quotes, as
george), which will show all packages you have installed and information
concerning each package (it will be large). Depending on what you are
using the machine for, there should be a least a few packages you might be
able to dump. For example, if the machine is a workstation, it shouldn't
(usually) have "server" packages installed (such as apache, mysql,
postgresql and so forth).
After going through those 4 things, send us an updated 'df -h' (note the
-h, not the -k--I've never quite gotten used to seeing things in 1024 byte
blocks). If none of the above clear enough room, I would say buy another
hard drive (somewhere around 10 GB is the smallest I've seen people buying
these days) and move around some of the partitions. (We'll get to the more
detailed instructions once we see if any of the 4 suggestions reduce the
98% full significantly.)
Michael
--
Michael Viron
Registered Linux User #81978
Senior Systems & Administration Consultant
Web Spinners, University of West Florida
At 10:28 PM 07/19/2001 +, civileme wrote:
>On Thursday 19 July 2001 19:52, George Baker wrote:
>> Sorry, I am new at this. Here are my partition details:
>>
>> [george@localhost george]$ df -k
>> Filesystem 1k-blocks Used Available Use% Mounted on
>> /dev/hda6 464585433598 6999 98% /
>> /dev/hda1 2096320 1523840572480 73% /mnt/DOS_hda1
>> /dev/hda5 7776 827 6548 11% /boot
>> /dev/hda8 472392124795323205 28% /home
>
>U!
>
>This is a 3G disk. How are your pockets for change? You need either
another
>hdd or a bigger hdd. You are below minimums on / and soon will have a
>situation where it will not boot unless there are sufficient sections for /,
>which should be reserved properly in the setup.. You could resize /home a
>little smaller, and possibly make two partitions there for /var and
>/usr/local or even three with /tmp added, but there is litle hope of being
>able to move /usr there /usr/X11R6 maybe. You might be able to shrink
DOS a
>little , say 30k, and put all of /usr there, but that disk looks
>uncomfortably tight, and if ext2resize isn't there already, you will have to
>do surgery to make room for it.
>
>Sounds like a good exercise for you other helpers [ducks].
>
>Civileme
>
>
>
>
>> [george@localhost george]$
>>
>> --
>> Thanks
>> George Baker
>> South Africa
>>
>> "Michael D. Viron" wrote:
>> > George,
>> >
>> > It would help us if you posted the partitions you have and what size they
>> > are.
>> >
>> > Michael
>> >
>> > --
>> > Michael Viron
>> > Registered Linux User #81978
>> > Senior Systems & Administration Consultant
>> > Web Spinners, University of West Florida
>> >
>> > At 12:21 AM 07/19/2001 +0200, George Baker wrote:
>> > >I installed LM 7 on a 1.2 gig extended partition. Now I see that /root
>> > >partition is nearly full, yet I have 300 MB free in /home. How can I
>> > >give more space to /root or specifically /usr.
>