LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-15-2002, 03:56 PM   #1
cliffyman
Member
 
Registered: Aug 2001
Location: Buffalo, NY
Distribution: Red Hat
Posts: 83

Rep: Reputation: 15
Mount "/" at capacity - please help clean things up!


Hello,


We're running RedHat 7.2 on a basic webserver and for some reason, our top level mount point has filled up for reasons unknown. df -h shows me this:

Filesystem Size Used Avail Use% Mounted on
/dev/hda7 486M 487M 0 100% /
/dev/hda1 45M 6.0M 37M 14% /boot
/dev/hda8 20G 3.1G 16G 17% /home
none 250M 0 249M 0% /dev/shm
/dev/hda6 486M 8.1M 453M 2% /tmp
/dev/hda2 4.8G 1.4G 3.2G 29% /usr
/dev/hda5 486M 51M 410M 11% /var

I'm still quite the Linux newbie and I'm not sure what I can do to dig through all these directories and clear out some space. Does anyone have any likely guesses as to what's filled things up? Main applications running on the server are Apache, mySQL, ColdFusion... thanks to anyone who can help.
 
Old 07-15-2002, 07:11 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
hmmm, is there anything installed under /root? it seems your partition scheme is about right you have separate partitions for /home, /usr, /tmp and /var. Is there a /opt directory, some programs tend to get installed there, some users tend to use it for optional software (opt - is for optional), if you do
du /root
what do you get?

Last edited by neo77777; 07-15-2002 at 07:13 PM.
 
Old 07-15-2002, 09:12 PM   #3
cliffyman
Member
 
Registered: Aug 2001
Location: Buffalo, NY
Distribution: Red Hat
Posts: 83

Original Poster
Rep: Reputation: 15
Well I du'ed /root and it appears there's only about 1 MB of files in there. ColdFusion was installed in the /opt directory (was aware of this) and it occupies about 58 MB, which is significant. I totalled together all the directories except for boot, home, mnt, tmp, usr, and var and got something like 121 MB which should be well below the alotted 486 MB for the "/" mount. Here's my only question - I neglected /mnt because I figured that any network mounts I do won't count against my disk space - will they? I mounted shares from a Mac OS X server in our office using smbmount to different folders I created in the /mnt directory - could this be taking up my disk space somehow? Otherwise, I'd be totally baffled to know wherethe other 350 MB are disappearing to. Any more help you could give would be greatly appreciated - thanks!
 
Old 07-15-2002, 09:17 PM   #4
cliffyman
Member
 
Registered: Aug 2001
Location: Buffalo, NY
Distribution: Red Hat
Posts: 83

Original Poster
Rep: Reputation: 15
DUH

Hey, thanks a lot for your help - I discovered what the problem was. I had some automated backup scripts running each night that tar'd and gzip'd our entire webroot and then copied them to that OS X server, which is backup up via tape. Apparently, someone rebooted the machine after it had been up for 90 days and failed to remount the network drives, so the files were actually being written to my hard disk. Sorry to waste your time with such a trivial question, but thanks very much for your help!
 
Old 07-15-2002, 10:25 PM   #5
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
No problem
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
failed "Read Cd/Dvd Capacity" FC4 on a HP Pav8000 evans0409 Linux - Hardware 4 10-14-2005 05:50 PM
Hard drive capacity suddenly "0" edlentz Linux - Hardware 2 08-05-2005 05:30 AM
what is difference between "reset" and "clean " commands? zameer_india Linux - Newbie 2 01-10-2005 06:23 AM
"Can't run C compiled programs" on clean RH9 install smirnoff Linux - Newbie 8 03-16-2004 03:11 PM
HELP! - root directory "/" 100% CAPACITY JM_Fraser Linux - Software 11 11-28-2003 03:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:41 PM.

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