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 08-08-2003, 09:01 AM   #1
stenyak
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Rep: Reputation: 0
gentoo disk space problem


i have installed gentoo from the stage 1 in a 8 gB partition (using reiserfs). i have installed some basic packages (with emerge), and after doing that the free disk space was about 5gB.
now i have installed a game, Rune, which is supposed to use about 650 mB. It installs fine, however after playing it for half an hour, and having exited the game, i can see there's now only 4bytes free. this is, the disk is 100% full.
it's not a problem related to the game, as it also happens when i install Terminus, or Return to Castle Wolfenstein. Also when i try to emerge OpenOffice (not OpenOffice.org) and many other packages. It just runs out of disk space.
Now i can't even start gnome. If i uninstall Rune, then there's just ~650mB free. After some minutes, i try 'df -h' again and it says there's about 5gB.
I don't understand anything! what can i do?

since i installed gentoo (from scratch (stage1)), i have emerged gnome2, alsa, xmms, opera, mozilla, some plugins for opera, and tried to emerge openoffice. also i have installed and uninstalled the mentioned games.
BTW where are all the temporary files of emerge (the downloaded source code and all that things)? can i delete them safely?

hope someone can help me
 
Old 08-08-2003, 09:18 AM   #2
stenyak
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Original Poster
Rep: Reputation: 0
please anybody knows how to fix this?
 
Old 08-08-2003, 11:46 AM   #3
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
Quote:
BTW where are all the temporary files of emerge (the downloaded source code and all that things)? can i delete them safely?
Do this in console as root:
updatedb
then,
find name_of_program
or locate name_of_program
then you should be able to find the main directory fo your program. cd into the directory and type
make clean
to remove the temp files.
As about your other problem..I am not sure. To me even 3 Gig install seems a bit too much. Remove the application you dont use..
 
Old 08-08-2003, 11:59 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
you can clear everything in /usr/portage/distfiles as often as you want, it's totally totally safe to do this. you *might* also have decompressed source left in /vat/tmp/portage for each app, but you really shouldn't.

can't see where this space has really gone though.... try a little investigation e.g.
Code:
kermit usr # du -h --max-depth 1
67M     ./bin
388M    ./lib
217M    ./src
3.2M    ./sbin
2.9M    ./i686-pc-linux-gnu
139M    ./X11R6
17K     ./local
etc.....
so you can easily where any sore thumb culprits... then try changing to that directory and doing the same again.... the amount you've apparently got used up is quite obscene..
 
Old 08-08-2003, 12:01 PM   #5
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
hey acid_kewpie. I dont have /usr/portage/ directory, where else can this directory be for redhat 9.0?
 
Old 08-08-2003, 01:35 PM   #6
stenyak
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Original Poster
Rep: Reputation: 0
ok thnx i'll try with 'du' in order to see where all the wasted space. it's strange since i haven't installed many (or big) things.
also, this loss of free space makes gentoo not able to start gdm, so i have to use text mode (not really a problem..., and also there's a lot of error messages when i _try_ to shutdown.

be back in 5 minutes....
 
Old 08-08-2003, 02:07 PM   #7
stenyak
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Question ermmmmm........

this is kinda strange.... these are the most relevant info i've gathered using du:

files in root folder (having unmounted the vfat partition in /mnt/win):
Code:
5.6M	./bin
0	./dev
11M	./etc
8.2M	./lib
3.5K	./mnt
173M	./opt
254K	./tmp
320M	./var
3.1G	./usr
1.2M	./boot
4.5G	./home     ----> ???????
T0	./proc
4.6M	./sbin
1.2M	./root
8.1G	.
this is /usr folder:
Code:
24M	./qt
77M	./bin
1.0K	./com
54M	./kde
584M	./lib           ----------->should it be this big?
211M	./src
2.1M	./sbin
3.2M	./i686-pc-linux-gnu
124M	./X11R6
441K	./games
655M	./local              ----->this is because of the game Rune i've installed
390M	./share
1.9M	./libexec
34M	./include
960M	./portage           ------>should it be this big?
3.1G	.
and now the home folder. there i have my own folder, and my sister's. i had this free-space-problem before having created my sisters account. however, my home folder is a few kB big, and my sisters is.....:
Code:
512	./.qt
3.5M	./.loki
4.2M	./.xmms
512	./.gnome2_private
512	./.gconfd
69K	./.gnome2
512	./.themes
9.0K	./.metacity
29K	./.nautilus
993K	./fondos
17K	./.gnome-desktop
51K	./.thumbnails
512	./.gstreamer
512	./.Trash
120K	./.gconf
6.0K	./.gnome
512	./.icons
2.1M	./.opera
26K	./.xMule
4.4G	.          ------->????????
now where are those 4.4 gigs?
that game, rune, i insta*led this morning. i tell you what i did:
-First, there was 4bytes free in the disk. I uninstalled the game Terminus i had just installed yesterday.
-Then there was (i dont remember well) about 500mB free. After configuring xmms for my sister (skins and all that things) and having done some other things (more basic configuration of my sisters programs), i checked again with DF, and there was 4.5gB free (!!). I hadn't uninstalled anything.
-Then i installed Rune, but didn't check how much free disk space there was.
-Then i left my sister playing it, for about half an hour
-Then i check again the free disk space, and there's again 4Bytes free. And no, my sister haven't messed with linux, she just played (I was watching her playing).
-Then i came to windows, whitout doing anything else.

BTW, i have installed gentoo from last saturday to this monday. I had just formatted my debian!! i don't want to reinstall everything again from scratch!! what is happening here?

<edit>
Now that i look at it, i can clearly remember i did
Code:
ln -s /mnt/win/datos/rebeca
while being in /home/okeldui (my sisters folder). that link is to let her access easily her windows 'my documents' folder. and i can't see it in the list of 'du'.... may that have something to do with this strange problem?
<edit />

<edit-again>
ok i've gone again to linux. i've done
Code:
ls -Fal
while being in my sisters folder:
Code:
total 4559136
drwxr-xr-x   21 okeldui  users         952 Aug  8 13:56 ./
drwxr-xr-x    4 root     root          120 Aug  6 21:32 ../
-rw-------    1 okeldui  users        q   0 Aug  8 13:56 .ICEauthority
drwx------    2 okeldui  users          48 Aug  6 23:12 .Trash/
-rw-------    1 okeldui  users           0 Aug  8 13:56 .Xauthority
-rw-------    1 okeldui  users          47 Aug  8 12:48 .bash_history
-rw-r--r--    1 root     root          232 Aug  6 21:32 .bash_profile
-rw-r--r--    1 root     root          812 Aug  6 21:32 .bashrc
-rw-r--r--    1 okeldui  users        5076 Aug  8 12:43 .eMule
-rw-------    1 okeldui  users          16 Aug  6 23:26 .esd_auth
drwx------    4 okeldui  users F        128 Aug  8 13:56 .gconf/
drwx------    2 okeldui  users          80 Aug  8 13:56 .gconfd/
drwx------    5 okeldui  users         144 Aug  6 21:34 .gnome/
drwxr-xr-x    2 okeldui  users         176 Aug  8 13:56 .gnome-desktop/
drwxr-xr-x    6 okeldui  users         360 Aug  8 13:56 .gnome2/
drwx------    2 okeldui  users          48 Aug  6 21:34 .gnome2_private/
-rw-------    1 okeldui  users    4668506112 Aug  8 13:57 .gnomerc-errors            ----->HERE IT IS!!!!!!! YES!
drwxr-xr-x    2 okeldui  users          48 ŸAug  8 12:40 .gstreamer/
-rw-r--r--    1 okeldui  users          89 Aug  6 21:34 .gtkrc-1.2-gnome2
drwxr-xr-x    2 okeldui  users          48 Aug  8 12:50 .icons/
drwxr-xr-x    3 okeldui  users          72 Aug  8 12:51 .loki/
drwx------    3 okeldui  users          72 Aug  6 21:34 .metacity/
drwxr-xr-x    3 okeldui  users         112 Aug  6 21:34 .nautilus/
drwx------    4 okeldui  users         616 Aug  8 12:36 .opera/
drwx------    2 okeldui  users          48 Aug  6 21:35 .qt/
-rw-------    1 okeldui  users           0 żAug  6 21:34 .recently-used
-rw-r--r--    1 root     root         1466 Aug  6 21:32 .tcsh.config
drwxr-xr-x    2 okeldui  users          48 Aug  8 12:50 .themes/
drwx------    4 okeldui  users          96 Aug  6 21:39 .thumbnails/
drwxr-xr-x    4 okeldui  users         312 Aug  8 12:43 .xMule/
drwxr-xr-x    4 okeldui  users         168 Aug  8 12:47 .xmms/
-rw-r--r--    1 okeldui  users         216 Aug  8 12:36 .xsession-errors
drwx------    2 okeldui  users          88 Aug  6 21:41 fondos/
lrwxrwxrwx    1 okeldui  users   ~       21 Aug  8 12:48 rebeca -> /mnt/win/datos/rebeca/
the 'rebeca' link is there, no problem, but i've discovered that tiny error log file.
i tried to edit that file. i had some problems with vim in order to open it (i _only_ have 640mB of RAM and no swap partition). the beginning of the file contains some errors about a 'window manager', and all the rest (well, the first 20000 lines) are filled with this line:
Code:
** (process:13558): WARNING **: mpeg2dec0: unhandled state 0, FIXME
sorry i have no idea what program is that process. now how can i prevent gentoo from creating an error log file like this?
<edit-again />

Last edited by stenyak; 08-08-2003 at 02:34 PM.
 
Old 08-07-2004, 02:48 PM   #8
mathfeel
Member
 
Registered: Feb 2002
Distribution: Gentoo
Posts: 95

Rep: Reputation: 15
Quote:
Originally posted by Jatt_thugz
hey acid_kewpie. I dont have /usr/portage/ directory, where else can this directory be for redhat 9.0?
We are talking about Gentoo, not RH9. RH doesn't have the portage system.
 
  


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
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 04:58 PM
Disk Space Problem AbsoluteMonkey Linux - General 8 03-28-2004 03:24 PM
problem with disk space. bengo Slackware 5 10-02-2003 02:38 AM
Disk Space Problem bigmember Linux - Software 2 07-04-2003 01:41 PM
Disk space problem J_Szucs Linux - Newbie 8 11-21-2001 05:32 PM

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration