Mount "/" at capacity - please help clean things up!
Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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?
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!
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!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.