LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-18-2007, 05:07 PM   #1
gongtech2006
LQ Newbie
 
Registered: Aug 2006
Posts: 3

Rep: Reputation: 0
where did the space under the root partition go?


Hi
I am a newbee to debian linux. I found my root partition is full.
My root partition has 4 GB, but I added the size of files under the root partition, anyway they did not hit the 4GB, not even close.
Where did the space go?

Here is some output which may be useful.
command: du -hcs /*

3.3M /bin
5.8M /boot
128K /dev
23M /etc
4.0K /fai
893M /home
4.0K /initrd
44M /lib
16K /lost+found
4.0K /media
4.0K /mnt
4.0K /opt
507M /proc
3.8G /root
9.6M /sbin
4.0K /srv
4.0K /sys
68K /tmp
2.5G /usr
137M /var
0 /vmlinuz
0 /vmlinuz.old
7.9G total

Command: df

I run df, get the following
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda6 4032092 4032092 0 100% /
tmpfs 253668 0 253668 0% /dev/shm
/dev/hda1 77749 10032 63703 14% /boot
/dev/hda10 12649928 946956 1574456 8% /home
/dev/hda8 2016016 32876 1983140 2% /tmp
/dev/hda9 15124868 2635568 11720996 19% /usr
/dev/hda7 4032092 172316 3654952 5% /var

How can I find the missing space?

Thanks
 
Old 01-18-2007, 05:10 PM   #2
war1025
Member
 
Registered: Jul 2006
Distribution: Debian: Squeeze AMD64
Posts: 318

Rep: Reputation: 32
it says there are 3.8 gigs in the root folder... I'd probably start by looking in there.
 
Old 01-18-2007, 05:34 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Agreed - you could try "du / -x | sort -nr | less" for a (reverse) sorted overview.
 
Old 01-19-2007, 02:12 AM   #4
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
If you have X window there is xdiskusage
More elaborated than du IMO..

If you are even further and have KDE there is konqeror
For gnome there is baobab
 
Old 01-19-2007, 05:47 AM   #5
mivici
LQ Newbie
 
Registered: Aug 2006
Posts: 1

Rep: Reputation: 0
Have you tried apt-get clean yet?
 
Old 01-19-2007, 08:59 AM   #6
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
Quote:
Have you tried apt-get clean yet?
Nah apt stores old packages in /var/cache so thats not it.

What I wanna know is what

Code:
3.8G /root
is all about. Its very odd to have that much in /root. All I have in /root is .bashrc and .bash_profile.
 
Old 01-19-2007, 03:37 PM   #7
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
My personal bet is we have a newbie running as root in the GUI, downloading things, but I hope I wrong. If I'm correct, then please mr. original poster, stop! Using the gui (graphical) interface as root is an invitation for all of the same problems that plague windows, like viruses and spyware. The linux security system only works if you use it, and the way to use it is to run as a regular user, who doesn't have the ability to write to system files.

Peace,
JimBass
 
  


Reply



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
Out of space on root partition! What are my options? vasudevadas Linux - General 14 01-05-2006 10:19 AM
Where did root partition space go? username is already Linux - General 3 12-15-2005 02:16 PM
/ root partition has 0 space?? adambeazley Mandriva 1 05-01-2004 09:53 PM
Root partition space @ 0% jbrashear Linux - Newbie 1 04-03-2004 12:52 AM
running out of space on root partition timsch75 Linux - Newbie 5 03-23-2004 03:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:03 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