The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
disk usage (df vs du) gfhgfnhhn UNIX for Advanced & Expert Users 8 09-23-2006 05:06 PM
disk usage karthikosu UNIX for Dummies Questions & Answers 2 06-29-2006 12:48 PM
Disk Usage lewisoco UNIX for Dummies Questions & Answers 3 05-09-2006 05:44 PM
Disk usage (Mac OS 10.4) H1tokori UNIX for Dummies Questions & Answers 5 12-05-2005 04:37 PM
disk usage asutoshch UNIX for Dummies Questions & Answers 4 04-01-2001 05:02 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 04-03-2003
scg scg is offline
Registered User
 

Join Date: Oct 2002
Location: Southern England
Posts: 5
URGENT 100% disk usage!!

Help!

Our mail server has 100% disk utilisation. I don't know much about linux but I need to delete something pronto. I only have to keep this thing ticking over until it is replaced by an exchange server in a few weeks, but the phone is constantly ringing with people telling me they can't send or receive, which I already know!

I don't know what I can and can't delete safely, log files I guess. I've had a rummage around and can't find anything that stands out. It's red hat 5.1 if that makes any difference.

Thanks!
Forum Sponsor
  #2  
Old 04-03-2003
Registered User
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
getting rid of the log files probably would help, if they are of a large size, however in some cases you cant just delete them, because the program writing to the log file will look for the log file to be a certain size, and if its not it will just write garbage data to fill it up to the size it was. search on google for log file removal, also try searching on red hats website for help. since its just a mail server (?) make sure to remove any packages that arent being used. get rid of X and any gui utils, again, if this is just an mail server, get rid of httpd.. im sure others will have more suggestions for you. good luck.
  #3  
Old 04-03-2003
yls177
Guest
 

Posts: n/a
the earlier post is right

try find / -size +10000
  #4  
Old 04-03-2003
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,667
I often look for files that were written to recently...

find / -mtime -3 -print

Since this is a mailserver, I would look at the mailboxes. There may be a user who was mailbombed or spammed or innocently mailed an encyclopedia or something.
  #5  
Old 04-04-2003
scg scg is offline
Registered User
 

Join Date: Oct 2002
Location: Southern England
Posts: 5
Thanks for the replies. I discovered the machine only has a 1.5GB drive and just the accumalation of unread emails etc from approx 600 accounts has filled it up to capacity. I have deleted some old accounts which has freed up 5% of space which should keep it going for a while.

I did't realise the disk was that small. How easy is it to add another one on such an old OS? And I how would I tell it to start using the new disk. At the moment all mail sits in the users' home directories, so I would somehow need to split the /home/ directory over 2 disks?

Oh, it also uses Apache to run a webmail front end.
  #6  
Old 04-04-2003
Registered User
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
im not too familiar with combining hard drives, but search on google for LVM.
  #7  
Old 04-04-2003
yls177
Guest
 

Posts: n/a
ealier posts indicate that the os is redhat 5.1 and i think ... only aix, hpux ofters LVM readily.... SUN uses ufs by default but they have their own volume management... (if i am right...)
Google The UNIX and Linux Forums
Closed Thread

Tags
linux, mtime

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 11:05 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0