Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How big is your portage tree? (Its eating space?!) Read plz.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
feld
Guru
Guru


Joined: 29 Aug 2004
Posts: 593
Location: WI, USA

PostPosted: Sun Feb 19, 2006 12:04 am    Post subject: How big is your portage tree? (Its eating space?!) Read plz. Reply with quote

Okay this is really bothering me. Why is my portage tree so much bigger than my server's? My friend's is awfully large too, though not as big as mine.


Ok here's my server, ChuckNorris:

Code:

feld@ChuckNorris ~ $ df -ah
Filesystem            Size  Used Avail Use% Mounted on
/dev/hdb3             5.6G  1.1G  4.6G  19% /
proc                     0     0     0   -  /proc
sysfs                    0     0     0   -  /sys
udev                  252M   80K  252M   1% /dev
devpts                   0     0     0   -  /dev/pts
/dev/mapper/lvm-ccache
                      5.0G  145M  4.9G   3% /ccache
/dev/mapper/lvm-data   25G  894M   25G   4% /data
/dev/mapper/lvm-portage
                      500M  189M  312M  38% /usr/portage
/dev/mapper/lvm-distfiles
                      5.0G  1.4G  3.7G  28% /usr/portage/distfiles
/dev/mapper/lvm-opt    15G  4.6G   11G  31% /opt
/dev/mapper/lvm-tmp    10G   59M   10G   1% /tmp
shm                   252M     0  252M   0% /dev/shm
usbfs                    0     0     0   -  /proc/bus/usb


Distfiles is mounted AFTER portage, into a dir made onto portage. So that's correct.

Notice it is only using 189mb for a fully up to date portage tree on Reiserfs (notail,noatime).




Now here is my box. Same situation for portage and distfiles. Same filesystem. Same scheme. yadda yadda. (I've also made sure that with distfiles unmounted that there really REALLY is nothing in the distfiles folder it's being mounted onto.)

Code:

skeletor ~ # df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hdd3              37G   23G   14G  62% /
udev                 1014M  244K 1013M   1% /dev
/dev/mapper/vg-tmp    5.0G   33M  5.0G   1% /tmp
/dev/mapper/vg-vartmp
                       10G   33M   10G   1% /var/tmp
/dev/mapper/vg-ccache
                      5.0G   52M  5.0G   2% /ccache
shm                  1014M     0 1014M   0% /dev/shm
mythtv:/mnt/files      61G   33G   28G  54% /mnt/files
mythtv:/mnt/mythtv    200G   84G  117G  42% /mnt/mythtv
/dev/mapper/vg-portage
                     1000M  532M  469M  54% /usr/portage
/dev/mapper/vg-distfiles
                      5.0G   11M  5.0G   1% /usr/portage/distfiles


Now what the hell? It's using 532 MB!!!!!!

I was forced to expand the LV to 1000MB because 500 wasn't cutting it. Every sync would fail because it would run out of space, every extraction of a snapshot would error out because it had no more space.


ARGH this is annoying....


My box: xp 3200
Server: Dual P3 866


Any ideas? I'm totally lost.

Here's a pastebin of the dir sizes:


http://sh.nu/p/1148



Am I crazy? Is my server crazy? Who's wrong and who's right here?




-Feld[/code]
_________________
< bmg505> I think the first line in reiserfsck is

if (random(65535)< 65500) { hose(partition); for (i=0;i<100000000;i++) print_crap(); }
Back to top
View user's profile Send private message
clintpatty
Apprentice
Apprentice


Joined: 21 Jul 2005
Posts: 173
Location: Alabama

PostPosted: Sun Feb 19, 2006 12:20 am    Post subject: Reply with quote

mine is using 581M
Back to top
View user's profile Send private message
curtis119
Bodhisattva
Bodhisattva


Joined: 10 Mar 2003
Posts: 2160
Location: Phoenix, AZ USA, North America, Earth, SOL System, Milky Way, The Universe, The Cosmos, and Beyond.

PostPosted: Sun Feb 19, 2006 2:09 am    Post subject: Reply with quote

Moved from Off the Wall to Gentoo Chat.

If it's getting big then clean it out: delete it and emerge --sync .
_________________
Gentoo: it's like wiping your ass with silk.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9236
Location: beyond the rim

PostPosted: Sun Feb 19, 2006 5:11 am    Post subject: Reply with quote

Using RSYNC_EXCLUDEFROM on the server?
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Sun Feb 19, 2006 7:05 am    Post subject: Reply with quote

I just rm -rf /usr/portage/*, then emerge --sync.

/usr/portage went from 581M to 568M

I guess that's what happens when you have 137654 files in a directory tree.
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sun Feb 19, 2006 8:58 am    Post subject: Reply with quote

Moved from Gentoo Chat to Duplicate Threads.
Moved in favour of https://forums.gentoo.org/viewtopic-t-340309.html
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum