LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 03-23-2004, 07:47 AM   #1
buck2bcr
LQ Newbie
 
Registered: Oct 2003
Posts: 11

Rep: Reputation: 0
AS 2.1 disk usage


I'm running redhat AS 2.1 and hopefully someone can help me figure out what is going on with my disk usage.

I have my system send me an email every hour to tell me what my disk stats (using df -h) are and as the day progresses my disk space left goes to zero. But I can't tell where it is going. I have used "du" on each directory off the root at different times after my "df" has changed significantly > 1 GB and there is no difference.

So my system went from 2.7 GB available to 1.5 GB available with no difference in the disk usage.

Anyone have any clues? Is there some phantom file(s) that don't show up when you do a du -hs on a directory?

Thanks for any help.

Buck
 
Old 03-23-2004, 08:06 AM   #2
Ice9
Member
 
Registered: Jun 2002
Location: Belgium
Distribution: Sidux
Posts: 313

Rep: Reputation: 30
did you check the logfiles?
 
Old 03-23-2004, 09:12 AM   #3
buck2bcr
LQ Newbie
 
Registered: Oct 2003
Posts: 11

Original Poster
Rep: Reputation: 0
Which logfiles? My log file directory usage is unchanged. As far as checking a particular log file for something, no. I've browsed a few of them but nothing jumps out that would cause my harddrvie to have 1GB eaten up without showing up in the directory structure.

Last edited by buck2bcr; 03-23-2004 at 09:28 AM.
 
Old 03-23-2004, 09:31 AM   #4
Ice9
Member
 
Registered: Jun 2002
Location: Belgium
Distribution: Sidux
Posts: 313

Rep: Reputation: 30
I asked you if you looked into your logfiles already because in several cases I noticed a difference between what's reported by du and by df.
du tells you exactly how many bytes a file counts while I think df reports the number of blocks which are allocated to a file.
If /var/log fills up it can lead to huge discrepancies.
 
Old 03-23-2004, 09:50 AM   #5
buck2bcr
LQ Newbie
 
Registered: Oct 2003
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks, I looked through the log files using ls -RSlh and the sizes look like they match up.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Disk Usage kegwell Linux - Software 2 05-11-2005 10:59 AM
LQ disk usage student04 LQ Suggestions & Feedback 4 10-24-2004 09:35 PM
Disk Usage karan101 Linux - Software 8 10-17-2004 03:59 AM
101% disk usage on an empty disk tsiuser Linux - Software 3 01-28-2004 06:24 PM
Disk Usage dvong3 Linux - Software 2 06-13-2003 12:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 06:24 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