DebianThis forum is for the discussion of Debian Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have 11Gb allocated for my / partition, 1Gb /swap and another 20Gb for /home.
I have just noticed that my / has grown to about 10Gb currently. Since this system was originally a standard Sarge desktop install (I think about 5Gb in /) and I have only added a few extra packages such as Amarok and Kmymoney, I don't know why / has grown so large. At this rate I am in danger of running out of space.
Any suggestions as to the cause or what I might do about this?
I didn't know about "aptitude clean".
I ran that command and I now have 5.1Gb free space in / just like that.
Basically, whenever you run an upgrade or dist-upgrade, all the packages that get downloaded are stored on your hard drive until you clean them out. So if you've never run clean, it may have been that all the packages from your Etch update were still on the machine.
Thanks, that'll almost certainly have been the case then.
I've run "df -h" and "du -h --max-depth=1" as suggested and then run "!du" on /var (427M).
The output is:
Is there a proper way to clear out ./log? What about ./run and ./spool?
you don't want to mess with run.
spool contains mails, probably also not something to mess with directly.
(besides both together only amount to less than 1 MB).
- in log, you can remove all of the gzipped files.
- you can also echo "" > some_file to clear any large logs, though that's probably not necessary after removing the gz files.
- to properly manage your log files, you should have logrotate working. I've never put much effort into this, so I can't help you with it.
btw, I didn't know about aptitude clean either. good tip!