LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-27-2009, 06:45 PM   #16
marcos602phx
LQ Newbie
 
Registered: Aug 2009
Posts: 9

Rep: Reputation: 0

I should preface my reply by saying that (1) I am very new to Linux even though I have done a few things in Unix (2) About a week ago I volunteered myself to look at the exact same problem.

I am using Putty.

One of the first things I did was begin to review the /var/log directory via logrotate. Specifically several files sitting inside of /var/log/httpd. I changed etc/logrotate.d/httpd to make it inclusive of everything setting in that path. If your code says: "/var/log/httpd/*log {" you may want to change it to say: "/var/log/httpd/* {"
Then /usr/sbin/logrotate -f /etc/logrotate.conf. I then moved the logs to /home/backups/xxxx. I also created new etc/logrotate.d/xxxxx for other logs.

I also reviewed another directory /realp which had old archive files...I also moved those to /home/backups/xxxx.

I manually evaluated every directory within root to find that /srv was taking up the majority of space at 41,654,748. I am now taking a look at the structure and using this has helped:

find . -size +1000000 -print <--- will display the results

Code:
Filesystem                           Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup_ID_5159-LogVol1  46G   43G  594M  99% /
So I am interested to hear more about this!

Last edited by GrapefruiTgirl; 08-27-2009 at 07:07 PM. Reason: added [code] tags to format output.
 
Old 08-28-2009, 03:33 PM   #17
dxangel
Member
 
Registered: Nov 2008
Location: London, UK
Distribution: CentOS, RedHat, Ubuntu
Posts: 79

Original Poster
Rep: Reputation: 18
Hi Marcus,

thanks for your reply, but im afraid you didnt understand the question.

The issue is not with a file, such as a log file in /var filling up - in my original post you can look at the way the server is partitioned. this means that any files in /var live on a different partition.

Also in my original post, i did mention that this server has NFS mounts - meaning there are terabytes of files - doing a find on the / filesystem would therefore be inappropriate in this case

but thanks anyway. And keep on learning linux.
 
  


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
root partition full redhawk1973 Ubuntu 8 03-10-2009 10:07 AM
root partition full trashbird1240 Slackware 10 05-27-2008 09:04 PM
root partition full laan97ac Mandriva 6 07-23-2007 01:09 PM
Root partition full juleslinux Red Hat 4 01-12-2006 10:00 AM
Root partition is full, what now? Joe Soap Linux - Newbie 30 03-31-2005 11:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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