LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-24-2004, 02:11 PM   #1
cyb0rg51
LQ Newbie
 
Registered: Apr 2004
Posts: 6

Rep: Reputation: 0
Question Redhat 9 disk space full when not supose to be?


First off I've been teaching myself linux for a year now.. So I don't know to much.

I have installed Red-Hat 9 on a 100GB hard-drive and have frequently ran up2date.

I also have put on samba so I can copy my files to a "Storage" place on my linux hdd.

Now I can't copy any more files because it says that my disk is filled up.. In fact it won't even start the GUI X Server because it is full. This can't be true because last time I checked I had 65% free space on the hdd, and that was yesterday..

Does anyone know any programs I can use to correct this? Or what is constantly making it say that it's full

when I do "df -h" it looks like this:

Filesystem Size Used Avail Use% Mounted on
/dev/hda3 91G 87G 0 100% /
/dev/hda1 101M 14M 82M 15% /boot
none 236M 236M 236M 0% /dev/shm

FYI: I only have 1 hard-drive and the biggest folder I have is "Storage"= 12.7G and is located in "/"

If any one can help it would be greatly appreciated
 
Old 04-24-2004, 03:30 PM   #2
jcspray
Member
 
Registered: Mar 2004
Location: York, UK
Distribution: Ubuntu
Posts: 132

Rep: Reputation: 15
Do a "du -s -c /*" to see what's taking up the space. Likely candidate would be /tmp.

However, I see that df is reporting 91G used, 87G free on a 100G hard drive. That's not nice. It would be good to fsck that filesystem. Not sure what the easiest way to go about that is with RH, perhaps someone can advise.
 
Old 04-24-2004, 05:09 PM   #3
cyb0rg51
LQ Newbie
 
Registered: Apr 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for the help.. i did that command and this was the result:

4752 /bin
10099 /boot
420 /dev
17212 /etc
73530524 /home
4 /initrd
81340 /lib
16 /lost+found
4 /misc
12 /mnt
4 /opt
du: `/proc/3200/fd/4': No such file or directory
512 /proc
117436 /root
12100 /sbin
10942688 /storage
48 /tftpboot
60 /tmp
3354528 /usr
94280 /var
88166039 total


I was suprised because I found /home to be rather large for 2 files
so I did a du insde /home/cyborg and this is what I got

435060 hlds_l_1120_full.bin
797176 UT2004-3186-DedicatedServer.zip
1232236 total

Where is the rest of the 72298288 that it orginally said I had

Quote:
Originally posted by jcspray
I see that df is reporting 91G used, 87G free on a 100G hard drive. That's not nice. [/B]
Actually it's a cheap hdd I bought for $50 im guessing the reason why it says 91 G on a 100G hdd is because I have 9G of unusable data due to poor manufacturing of the hard drive....yeah yeah i'm just that cheap
 
Old 04-24-2004, 07:48 PM   #4
ssimontis
Member
 
Registered: Apr 2004
Location: USA
Distribution: Fedora Core 3
Posts: 128

Rep: Reputation: 15
That cheap hard drive might be the problem. I learned a lesson using OEM. I bought a cheesy MSI mobo and an AMD Athlon XP 2000+ CPU from no-name OEM retailers. Both of them came in boxes with no return address. I also didn't get warranty. They both burnt out. I went to CompUSA, and knew I was getting overcharged by a horrible ammount, but still bought a new CPU and mobo. Try and see if you can get a second HD and play around with it. Worst case, back up anything important to a CD or external hard drive, and format your disk.
 
Old 04-24-2004, 10:26 PM   #5
cyb0rg51
LQ Newbie
 
Registered: Apr 2004
Posts: 6

Original Poster
Rep: Reputation: 0
I dont think that it's the hard-drive. I have a feeling that it's something software related..maybe a huge hidden cached file or the trash can.. Maybe the file structure was messed up??
 
Old 04-24-2004, 10:51 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
The reason is that 87% is saying 100% full is due to the fact that 5% of the partition is reserved for root by default. This is supposed to min fragmentatin plus allow root to log on in case your filesystem becomes full. You can modify the amount of reserved space using the tune2fs command.

It looks like there could be a big file somewhere on the partition which filled it up.

Last edited by michaelk; 04-24-2004 at 10:53 PM.
 
Old 04-25-2004, 12:25 AM   #7
cyb0rg51
LQ Newbie
 
Registered: Apr 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Thank you all for your help.. I have Discovered the problem.. It seems that for some reason the X server created some hidden file in my home directory.. This is what I did:

[cyb0rg]# du .xsession-errors
72296284 .xsession-errors
seems that it created this huge file for some reason so I am just going to delete it and pray that it fixes everything up...
Thank you for all your help
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help~! Strange Disc Full ...running out of space... max_tcs Linux - Newbie 8 06-20-2005 07:46 AM
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 03:58 PM
partition not using full space compu73rg33k Linux - Newbie 9 03-07-2004 10:11 AM
Making space on harddrive (its full!) robson8112 Linux - General 4 01-20-2004 11:52 AM
How to view the free space of a disk in Redhat 9.0 ? kinct Linux - Distributions 3 07-30-2003 11:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration