LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 11-30-2005, 09:30 PM   #1
laan97ac
LQ Newbie
 
Registered: Aug 2005
Location: New Jersey
Distribution: Ubuntu 7.04
Posts: 23

Rep: Reputation: Disabled
root partition full


Hi

I am now running root in single user mode since my root partition hda5 is full for whatever reason.

I recently formatted an external HDU 80GB and mounted it by error in /sda80 instead of under /mnt/sda1 which would be more normal.

All of a sudden I can no longer start KDE or GNOME since my root partition is full.

I have run du --max-depth=1 and gets all directories and sizes listed in /
All look fine
/home is big but that is on another partition.
/mnt is big because my windows partition is mounted here
/usr is big because of /usr/share and /usr/lib (can I clear something here?)

Most concerning is that

du --max-depth=1 ends up listing a big thing with 64G size but only description is .

du --max-depth=1 gives me this:
16K ./lost+found
37G ./mnt
23G ./home
2.6M ./dev
38M ./etc
36K ./tmp
194M ./var
127M ./root
897M ./proc
0 ./sys
2.8G ./usr
3.6M ./boot
6.4M ./sbin
5.4M ./bin
32M ./lib
8K ./initrd
4K ./opt
0 ./.autofsck
24K ./sda80 (where I accidentally mounted external 80 GB HDU)
4K ./.bash_history
64G .

What is those 64G . ????????????

df gives me
Filesystem size used avail mounted on
/dev/hda5 5.8G 5.5G 0 /
/dev/hda7 29G 23G 5.9 /home
/dev/hda1 39G 38G 1.5G /mnt/windows
/dev/sda1 74G 129M 70G /sda80

running du --max-depth=1 on /usr gives
1.2G /share
151M ./bin
1.3G ./lib
7.2M ./sbin
96M ./X11R6
4K ./etc
104K ./games
86M ./include
92K ./local
36K ./src
4K ./java
0 ./tmp
8K ./ppc64-linux
8K ./ppc-linux
2.8G .

Again, what are those unspecified 2.8G . ??????

Help is appreciated as it is no fun only to run prompt in single user mode!

HP laptop zd8000, Mandriva 2006
 
Old 12-01-2005, 12:17 AM   #2
cyberjun
Member
 
Registered: Mar 2005
Distribution: Gentoo kernel 2.6.14
Posts: 96

Rep: Reputation: 15
Hello,
MY friend the last 64G or 2.8G etc. are not separate entries. They are just the total of your listings.

To find file of size greater than lets say 100MB (= 1024*1024*100 bytes), use the following command (as root):
Code:
find / -xdev -size +104857600c
This will look for files >100MB in size on your root (/) partition without decending into other
partitions.

cheers,

--cyberjun
 
Old 12-01-2005, 07:13 PM   #3
springshades
Member
 
Registered: Nov 2004
Location: Near Lansing, MI , USA
Distribution: Mainly just Mandriva these days.
Posts: 304

Rep: Reputation: 30
A couple comments.

*Your /proc folder seems to be a bit on the big side. I don't think I've seen one quite that big before... it could just have something to do with your set up, I'm not sure.

*You seem to have a crapload of stuff sitting around as loose files in your / folder. If you do the math and add up everything in the folders on your root partition, they only add up to a little over 4 gigs, but df says that you're using 5.5. That means you must have at least a gig of space being used up by regular files in / and not in folders. I don't know about you, but I've only got 3 files in / and they're all very tiny. That'd be a good place to check. Maybe you copied something huge there on accident.

*Your root partition is a bit on the small side. I'd suggest using one a bit bigger in the future. If you ended up installing a few big games or something like that it might take up a couple gigs or so, so it's nice to give yourself space to expand.
 
Old 12-01-2005, 10:00 PM   #4
laan97ac
LQ Newbie
 
Registered: Aug 2005
Location: New Jersey
Distribution: Ubuntu 7.04
Posts: 23

Original Poster
Rep: Reputation: Disabled
solved

Thanx

I found out what it was - I accidentally mounted an external USB HDU and copied files to it. Only thing is that that the mount folder did not take me to the device so instead of copying to the HDU I was copying to the root directory.

Removing the files put me back on track

Thanx!
 
Old 12-04-2005, 07:38 PM   #5
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 51
Quote:
*Your /proc folder seems to be a bit on the big side. I don't think I've seen one quite that big before... it could just have something to do with your set up, I'm not sure.
That's perfectly normal - it seems roughly dependent on the amount of RAM you have in the machine. So on my machine at work (1GB RAM) the proc folder is about 900MB, on the one at home (~750 MB RAM) its 739MB. Anyway it doesn't matter because its a virtual filesystem anyway - it takes up zero disk space no matter how big it appears.
 
Old 07-22-2007, 11:33 PM   #6
laan97ac
LQ Newbie
 
Registered: Aug 2005
Location: New Jersey
Distribution: Ubuntu 7.04
Posts: 23

Original Poster
Rep: Reputation: Disabled
root partition full - again

here we go again, now my root partition is full again;

[root@localhost home]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda5 5.8G 5.8G 0 100% /
/dev/hda7 29G 11G 19G 36% /home
/dev/hda1 18G 14G 3.8G 79% /mnt/windows
[root@localhost home]# cd /
[root@localhost /]# du --max-depth=1
12K ./lost+found
14G ./mnt
11G ./home
172K ./dev
88M ./etc
20K ./tmp
161M ./var
582M ./root
899M ./proc
0 ./sys
4.0K ./media
4.5G ./usr
16M ./boot
6.3M ./sbin
129M ./lib
6.9M ./bin
2.0K ./initrd
273M ./opt
1.0K ./srv
3.0K ./.kde
62K ./.xdg_menu_cache
31G .
[root@localhost /]# cd /usr
[root@localhost usr]# du --max-depth=1
1.9G ./share
1.9G ./lib
299M ./bin
12M ./sbin
1.0K ./etc
28M ./games
102M ./include
39K ./local
301M ./src
20K ./X11R6
1.0K ./java
4.5G .
[root@localhost usr]#

what do i do
 
Old 07-23-2007, 01:09 PM   #7
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
What are the 14GB you show on the root ('/') file system under /mnt?
 
  


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
root partition full, not sure how; where are my files? lefty.crupps MEPIS 10 01-31-2006 05:21 PM
root ('/') partition is FULL inon^ Linux - Hardware 2 08-08-2005 01:19 PM
Root partition is full, what now? Joe Soap Linux - Newbie 30 03-31-2005 11:38 AM
root partition shows 100% full in RH 7.2 dmcmurray5 Red Hat 2 05-18-2004 03:24 PM
Root partition dangerously full HomeBrewer Linux - Newbie 2 04-27-2004 05:32 AM


All times are GMT -5. The time now is 01:51 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration