View previous topic :: View next topic |
Author |
Message |
Daemon n00b
Joined: 18 Apr 2002 Posts: 65
|
Posted: Sun Jul 07, 2002 12:04 am Post subject: running out of space |
|
|
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 |
|
|
metalhedd l33t
Joined: 30 May 2002 Posts: 692 Location: Ontario Canada
|
Posted: Sun Jul 07, 2002 12:20 am Post subject: |
|
|
Just start unmeging packages that you don't need anymore. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Sun Jul 07, 2002 12:27 am Post subject: |
|
|
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 |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Sun Jul 07, 2002 12:31 am Post subject: |
|
|
Check this thread. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Mon Jul 08, 2002 9:16 pm Post subject: |
|
|
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 |
|
|
Daemon n00b
Joined: 18 Apr 2002 Posts: 65
|
Posted: Tue Jul 09, 2002 1:44 am Post subject: |
|
|
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 |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Tue Jul 09, 2002 1:54 am Post subject: |
|
|
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 |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Tue Jul 09, 2002 2:14 am Post subject: |
|
|
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 |
|
|
Back to top |
|
|
Daemon n00b
Joined: 18 Apr 2002 Posts: 65
|
Posted: Tue Jul 09, 2002 1:08 pm Post subject: |
|
|
i did find the files that are taking so much space (some old software) .. thanx for your help guys |
|
Back to top |
|
|
|