Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
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.
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.
|
 |
12-16-2007, 05:46 PM
|
#1
|
Member
Registered: Nov 2003
Distribution: Debian - Lenny
Posts: 174
Rep:
|
Ran out of disk space on /
edhe@hebrews:/sys$ df -h
.......................Size Used Avail Use% Mounted on
/dev/sda1 259M 252M 0 100% /
..........tmpfs 471M 0 471M 0% /lib/init/rw
..........udev 10M 68K 10M 1% /dev
..........tmpfs 471M 0 471M 0% /dev/shm
/dev/sda9 357G 2.0G 337G 1% /home
/dev/sda8 373M 23M 331M 7% /tmp
/dev/sda5 4.6G 3.5G 898M 80% /usr
/dev/sda6 2.8G 1.2G 1.5G 43% /var
edhe@hebrews:/boot$ ls -alhS
total 25M
-rw-r--r-- 1 root root 5.2M 2007-11-10 10:23 initrd.img-2.6.18-5-amd64
-rw-r--r-- 1 root root 5.2M 2007-12-08 12:19 initrd.img-2.6.18-6-amd64
-rw-r--r-- 1 root root 4.8M 2007-10-10 13:12 initrd.img-2.6.18-5-amd64.bak
-rw-r--r-- 1 root root 4.1M 2007-12-16 17:49 initrd.img-2.6.23-9-amd64
-rw-r--r-- 1 root root 1.5M 2007-11-18 18:24 vmlinuz-2.6.18-6-amd64
-rw-r--r-- 1 root root 1.5M 2007-10-02 18:27 vmlinuz-2.6.18-5-amd64
-rw-r--r-- 1 root root 951K 2007-10-02 18:27 System.map-2.6.18-5-amd64
-rw-r--r-- 1 root root 950K 2007-11-18 18:24 System.map-2.6.18-6-amd64
-rw-r--r-- 1 root root 176K 2007-12-16 17:53 vmlinuz-2.6.23-9-amd64
-rw-r--r-- 1 root root 69K 2007-12-16 17:52 config-2.6.18-9-amd64
-rw-r--r-- 1 root root 64K 2007-11-18 18:23 config-2.6.18-6-amd64
-rw-r--r-- 1 root root 64K 2007-10-02 16:32 config-2.6.18-5-amd64
drwxr-xr-x 3 root root 1.0K 2007-12-16 17:56 .
drwxr-xr-x 24 root root 1.0K 2007-12-13 15:24 ..
drwxr-xr-x 2 root root 1.0K 2007-12-01 18:49 grub
lrwxrwxrwx 1 root root 22 2007-10-28 09:17 vmlinux -> vmlinuz-2.6.18-5-amd64
edhe@hebrews:/root$ ls -alhS
total 20K
-rw------- 1 root root 8.9K 2007-12-16 14:19 .bash_history
drwxr-xr-x 8 root root 1.0K 2007-12-16 17:59 .
drwxr-xr-x 24 root root 1.0K 2007-12-13 15:24 ..
drwx------ 2 root root 1.0K 2007-10-10 13:18 .aptitude
drwx------ 2 root root 1.0K 2007-12-11 22:09 .gnupg
drwx------ 3 root root 1.0K 2007-11-03 06:07 .kde
drwxr-xr-x 2 root root 1.0K 2007-11-03 02:06 .qt
drwx------ 2 root root 1.0K 2007-10-10 14:59 .ssh
drwx------ 2 root root 1.0K 2007-10-14 17:52 .xcdroast
-rw-r--r-- 1 root root 412 2004-12-15 17:53 .bashrc
-rw-r--r-- 1 root root 110 2004-11-10 11:10 .profile
-rw------- 1 root root 35 2007-12-16 18:06 .lesshst
Last edited by fof3; 12-16-2007 at 05:51 PM.
|
|
|
12-16-2007, 05:49 PM
|
#2
|
LQ Guru
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509
|
And the question is...?
|
|
|
12-16-2007, 06:17 PM
|
#3
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
du -xsm /* | sort -g | egrep -v "(var|home|tmp|usr)"
And with all those kernels I'd be looking at
/lib/modules ;}
Cheers,
Tink
Last edited by Tinkster; 12-16-2007 at 06:19 PM.
|
|
|
12-16-2007, 09:33 PM
|
#4
|
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Rep: 
|
Looks like you need to uninstall (PURGE) a couple of your old kernels to start with, since your /boot is in / ..
|
|
|
12-17-2007, 02:58 AM
|
#5
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Code:
du -sm /boot/ /lib/modules/
25 /boot/
170 /lib/modules/
/me shrugs ....
Cheers,
Tink
|
|
|
12-17-2007, 07:27 PM
|
#6
|
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Rep: 
|
Tinkster I see your point, but in Debian when you Purge a kernel (a stock Debian kernel installed through aptitude) doesn't it automatically remove the modules as well ?
I believe it has for me in the past...
|
|
|
All times are GMT -5. The time now is 08:51 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
|
|