Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
excessive ammount of disk useage, how do i fix it?
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
re_re
Tux's lil' helper
Tux's lil' helper


Joined: 05 Mar 2005
Posts: 129
Location: Milwaukee, Wisconsin

PostPosted: Sun Apr 03, 2005 1:36 am    Post subject: excessive ammount of disk useage, how do i fix it? Reply with quote

not sure if this is where this goes but......... my gentoo system is getting bloated, when i look at my disk useage it says i am at about 20 gigs...... (this is just on my gentoo partition) ,i keep all my media (music, video) on different partitions, i have a 6 gig vmware image, but other than that....... no big programs or files....... i think i should be able to get rid of 5 or 6 gigs, ...... anyone know how i can do this...... i am not exceedingly good with the linux directory structure, i dont' know what i can and cannot delete, i know where to find what i need for configuration, but that is about it

any help would be greatly appreciated
thanks
_________________
MSI 865PE Neo2 FISR, p4 2.6c, nv 5600

MSI K8N FSR, athlon64 2800+ @2016mhz, nv 6800xt

Compaq Deskpro Pentium3 500mhz

Macbook Pro 1.83ghz 1.5 gig pc5300
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Sun Apr 03, 2005 1:41 am    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic-t-30547.html
Please search and read the FAQ before you post.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
re_re
Tux's lil' helper
Tux's lil' helper


Joined: 05 Mar 2005
Posts: 129
Location: Milwaukee, Wisconsin

PostPosted: Sun Apr 03, 2005 3:26 am    Post subject: Reply with quote

ok, i did everything that link said to do, but........ i only freed up a couple gigs
..... i think i should be able to get 3 or 4 more gigs out of it......
anyway, i dont' really need the space, it just seems like i am using way to much space for the system i have installed
_________________
MSI 865PE Neo2 FISR, p4 2.6c, nv 5600

MSI K8N FSR, athlon64 2800+ @2016mhz, nv 6800xt

Compaq Deskpro Pentium3 500mhz

Macbook Pro 1.83ghz 1.5 gig pc5300
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Sun Apr 03, 2005 3:37 am    Post subject: Reply with quote

Then use
Code:
du -sh /home
du -sh /var
du -sh /tmp
du -sh /usr/lib
du -sh /usr
etc etc until you find the culprit. A normal desktop Gentoo installation, together with distfiles and two kernel source trees, should easily fit into 10 gigabytes, with 2 or 3 GB to spare.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
re_re
Tux's lil' helper
Tux's lil' helper


Joined: 05 Mar 2005
Posts: 129
Location: Milwaukee, Wisconsin

PostPosted: Sun Apr 03, 2005 4:58 am    Post subject: Reply with quote

localhost ~ # du -sh /home
660M /home
localhost ~ # du -sh /var
210M /var
localhost ~ # du -sh /tmp
1.7G /tmp
localhost ~ # du -sh /usr/lib
741M /usr/lib
localhost ~ # du -sh /usr
3.7G /usr
localhost ~ #

........ is it safe to delete /tmp files?

and....... should /usr be so big?, i don't know what is safe to delete.
_________________
MSI 865PE Neo2 FISR, p4 2.6c, nv 5600

MSI K8N FSR, athlon64 2800+ @2016mhz, nv 6800xt

Compaq Deskpro Pentium3 500mhz

Macbook Pro 1.83ghz 1.5 gig pc5300
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Sun Apr 03, 2005 5:09 am    Post subject: Reply with quote

Things under /tmp are safe to delete - do NOT delete the directory itself. Also never delete files named .keep (yes, that's dot keep).
As to the rest, I have no idea what the heck you've got installed, so I don't know how big your /usr should be. On my playground system (the one that's got a lot of stuff installed, most of which just for the heck of it) it's 2.5 GB.
Like I said, run du -sh on the subdirectories of /usr, then on the biggest subdirectories of those, then the next level, etc etc, until you locate the culprit. I didn't say you should run it only on the ones I suggested. That's why I used that nice "etc etc" there, you know...
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
re_re
Tux's lil' helper
Tux's lil' helper


Joined: 05 Mar 2005
Posts: 129
Location: Milwaukee, Wisconsin

PostPosted: Sun Apr 03, 2005 5:16 am    Post subject: Reply with quote

lol, i got that..... i ran it on most all directories and subdirectories... didn't find anythint to unordinary
_________________
MSI 865PE Neo2 FISR, p4 2.6c, nv 5600

MSI K8N FSR, athlon64 2800+ @2016mhz, nv 6800xt

Compaq Deskpro Pentium3 500mhz

Macbook Pro 1.83ghz 1.5 gig pc5300
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Sun Apr 03, 2005 5:19 am    Post subject: Reply with quote

Generally speaking, the more USE flags you have, the bigger your system gets since there are more things installed (obviously). If you include an insane amount of USE flags, your system will cause Greenpeace to organize whale rescue parties at your place. Only include what you need. When it comes to system administration, less is always more.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
re_re
Tux's lil' helper
Tux's lil' helper


Joined: 05 Mar 2005
Posts: 129
Location: Milwaukee, Wisconsin

PostPosted: Sun Apr 03, 2005 5:42 am    Post subject: Reply with quote

USE="x86 xinerama oss apm arts avi berkdb bitmap-fonts crypt cups encode fortran f77 foomaticdb gdbm gif gpm gtk gtk2 imlib jpeg kde gnome libg++ libwww mad mikmod motif mpeg ncurses nls opengl oggvorbis pam pdflib png python qt quicktime readline sdl spell ssl svga tcpd truetype X xml2 xv zlib cdr divx4linux dvd dvdr flash java javascript offensive sse"


my USE flags..... not to extensive i don't think.... but i could be wrong
_________________
MSI 865PE Neo2 FISR, p4 2.6c, nv 5600

MSI K8N FSR, athlon64 2800+ @2016mhz, nv 6800xt

Compaq Deskpro Pentium3 500mhz

Macbook Pro 1.83ghz 1.5 gig pc5300
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