LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 12-16-2007, 05:46 PM   #1
fof3
Member
 
Registered: Nov 2003
Distribution: Debian - Lenny
Posts: 174

Rep: Reputation: 30
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.
 
Old 12-16-2007, 05:49 PM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
And the question is...?
 
Old 12-16-2007, 06:17 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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.
 
Old 12-16-2007, 09:33 PM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Looks like you need to uninstall (PURGE) a couple of your old kernels to start with, since your /boot is in / ..
 
Old 12-17-2007, 02:58 AM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Code:
du -sm /boot/ /lib/modules/
25      /boot/
170     /lib/modules/

/me shrugs ....



Cheers,
Tink
 
Old 12-17-2007, 07:27 PM   #6
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
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...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ran out of disk space during upgrade - broke system DyeKid Slackware 7 08-22-2005 08:12 PM
bad compile -ran out of disk space juan18 Linux - Software 2 01-30-2005 11:32 AM
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 03:58 PM
Attempt to build custom kernal through rpm but ran out of disk space.... krazibon3 Linux - Newbie 0 09-04-2004 09:17 PM
Ran out of disk space at the end of chapter 6!! DarkDrive Linux From Scratch 4 08-22-2003 04:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:37 AM.

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