![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
the earlier post is right
try find / -size +10000 |
|
#4
|
||||
|
||||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
im not too familiar with combining hard drives, but search on google for LVM.
|
|
#7
|
|||
|
|||
|
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 |