I got a feeling that the free space in my root catalogue / is getting
progressively smaller and smaller. (System files + 4.5GB of applications
take over 19GB.) I may hypothesize that this is due to many rpm’s that
stay on the disk after update…
If I’m correct, what could be a solution to get rid of those files ?
If there could be any other reason that suse11 system takes so much
space ?
RPMs used for updates shouldn’t be kept around very long, and really
shouldn’t be that big in most cases. They will live somewhere in /var
as I recall so check there for directories that are larger than they
should be. Also ou can check used space by directory with the ‘disk
used’ command (du):
du -h /
It will go through all of your directories and generally takea long
time but it gives a summary of them all for you so if you redirect to a
file it will give you a nice report of everything going on:
du -h > ~/Desktop/diskusage-date +%Y-%m-%d_%H:%M:%S.txt
That will create a file on your user’s desktop with a summary of the
filesystem. Keep in mind this command will run with permissions of your
user and that won’t get a complete report because your user cannot go in
some parts of the filesystem. Run as ‘root’ for a full report but then
you’ll need to get the report off the ‘root’ uer’s desktop, or modify
the path to write somewhere you can read it like /tmp:
du -h > /tmp/diskusage-date +%Y-%m-%d_%H:%M:%S.txt
Good luck.
ket nn wrote:
> Hi,
>
> I got a feeling that the free space in my root catalogue / is getting
> progressively smaller and smaller. (System files + 4.5GB of applications
> take over 19GB.) I may hypothesize that this is due to many rpm’s that
> stay on the disk after update…
> If I’m correct, what could be a solution to get rid of those files ?
> If there could be any other reason that suse11 system takes so much
> space ?
>
> Thanks
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
I found no problem with /var - 712 MB, why not. There is more that 6GB
in /usr, and 1.5GB in /tmp…
I found file “kcore” of 6GB in /proc defined as Program Crash Data. Do
you think that I can delete it without bad consequences ?
/proc is a virtual filesystem… nothing in there really exists on the
hard drive. Indeed I too have one of these around 4.8 GB and deleting
it, if it works (doubtful) will probably do really bad things to you.
Also, considering its size, I doubt its reported size is even correct.
Good luck.
ket nn wrote:
> Thanks. Your post helped a bit.
>
> I found no problem with /var - 712 MB, why not. There is more that 6GB
> in /usr, and 1.5GB in /tmp…
> I found file “kcore” of 6GB in /proc defined as Program Crash Data. Do
> you think that I can delete it without bad consequences ?
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org