Debian This forum is for the discussion of Debian Linux.
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
02-06-2006, 03:30 PM
#1
Member
Registered: Dec 2004
Location: Belgium
Distribution: debian
Posts: 48
Rep:
freeing disk space
Hi
I need to free some hd space on my debian server.
What are the main places where I have to look?
thanks
02-06-2006, 03:39 PM
#2
Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092
Here's an article to help you out.
http://www.debian-administration.org/articles/143
What you're asking depends on what kind of server you're hosting (i.e. user files for apache may take up a lot of disk space if they each have unlimited space...) You might look into
quota to limit certain directory sizes...
02-06-2006, 03:41 PM
#3
Member
Registered: Jun 2004
Location: new jersey
Distribution: anything debian based, long live apt-get
Posts: 230
Rep:
find / -size 10000k
02-06-2006, 11:10 PM
#4
Member
Registered: Oct 2004
Location: Florida
Distribution: Debian
Posts: 319
Rep:
Install "localepurge" to remove unused docs
02-07-2006, 08:52 AM
#5
Member
Registered: Dec 2004
Location: Belgium
Distribution: debian
Posts: 48
Original Poster
Rep:
wow purgelocal freed me 67Mg useless docs in japanase, russian, etc...
thanks
02-07-2006, 08:57 AM
#6
Senior Member
Registered: Sep 2005
Location: Out
Posts: 3,307
Rep:
Localpurge is great
also exist:
deborphan
debfoster
cruft but this one is more complicated to interpret and you need to manually remove things.
02-18-2006, 07:41 PM
#7
Member
Registered: Dec 2001
Location: Lund, Sweden
Distribution: Ubuntu, Kubuntu and Debian
Posts: 338
Rep:
I usually do a:
# apt-get clean
when I need some space. Have a look at apt-get:s man-page.
/J
Last edited by Ztyx; 02-18-2006 at 07:41 PM .
Reason: Wrong program...
05-10-2007, 10:14 AM
#8
LQ Newbie
Registered: Aug 2004
Posts: 12
Rep:
dpigs
Two useful utilities for finding large and unused packages in debian are dpigs and popularity-contest.
To list the 20 largest packages installed (you have to decide for yourself if you use them):
dpigs -n 20
To see what packages you use most, and what ones you aren't using, try:
popularity-contest
popcon-largest-unused
05-10-2007, 10:25 AM
#9
Member
Registered: Aug 2005
Distribution: Debian, OpenBSD, PFsense
Posts: 71
Rep:
take a look in /var/cache and /tmp to see if theres anything you can delete. And maybe some old log files at /var/log
05-10-2007, 08:28 PM
#10
Guru
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,230
Rep:
Egads..
Quote:
localepurge: Disk space freed in /usr/share/locale: 314780K
localepurge: Disk space freed in /usr/share/man: 3968K
Total disk space freed by localepurge: 318748K
OK that utility goes on the keeper list..
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 10:42 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News