Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
running out of space
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Daemon
n00b
n00b


Joined: 18 Apr 2002
Posts: 65

PostPosted: Sun Jul 07, 2002 12:04 am    Post subject: running out of space Reply with quote

my 4GB partition is indicating %100... i emptied my /usr/portage/distfiles and /var/tmp/portage and now it's %89... what else i can delete.

p.s. i don't have any mp3 mpegs or any big personal documents on this partition.
Back to top
View user's profile Send private message
metalhedd
l33t
l33t


Joined: 30 May 2002
Posts: 692
Location: Ontario Canada

PostPosted: Sun Jul 07, 2002 12:20 am    Post subject: Reply with quote

Just start unmeging packages that you don't need anymore.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20053

PostPosted: Sun Jul 07, 2002 12:27 am    Post subject: Reply with quote

There was a thread somewhere (can't find it now) about backing up sources to CD... that might help.
I'll post it when I come across it again.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20053

PostPosted: Sun Jul 07, 2002 12:31 am    Post subject: Reply with quote

Check this thread.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Mon Jul 08, 2002 9:16 pm    Post subject: Reply with quote

Usually, there's one or two directories on the partition that are being the space hog. Try running:

Code:
du -h --max-depth=1 <your partition>


and see what's taking up all the space. (You may have to narrow down your search by refining your partition information -- see 'man du' for more info on how to do that)

--kurt (a.k.a. purple monkey dishwasher...)
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
Daemon
n00b
n00b


Joined: 18 Apr 2002
Posts: 65

PostPosted: Tue Jul 09, 2002 1:44 am    Post subject: Reply with quote

is it possible to write a shell or perl script that will search the parition and finds big files. by big i mean the size that the user specifies as an argument.

for example:

# findbigfile 50 /

will report the names of all the files that are >= 50 MB and are under /.

can somebody do it.. i know i can't :D
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Tue Jul 09, 2002 1:54 am    Post subject: Reply with quote

Daemon wrote:
is it possible to write a shell or perl script that will search the parition and finds big files.


du will help you find those same files if you use it correctly...

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Tue Jul 09, 2002 2:14 am    Post subject: Reply with quote

Use find:
Code:

find / -size +51200k -print
or
find / -size +51200k -exec ls -l {} \;


Daemon wrote:
is it possible to write a shell or perl script that will search the parition and finds big files. by big i mean the size that the user specifies as an argument.

for example:

# findbigfile 50 /

will report the names of all the files that are >= 50 MB and are under /.

can somebody do it.. i know i can't :D
Back to top
View user's profile Send private message
Daemon
n00b
n00b


Joined: 18 Apr 2002
Posts: 65

PostPosted: Tue Jul 09, 2002 1:08 pm    Post subject: Reply with quote

i did find the files that are taking so much space (some old software) .. thanx for your help guys :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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