How to get below your QUOTA
When you're having trouble being over or near quota, the following
things may be of help to you.
1) The "OldFiles" directory does not count against your quota. This
is a backup copy of your account, updated nightly.
2) The "helpquota" program in the consult locker will try to help you
figure out what is using up your quota, and will look at many of
the things described below. It will also offer you the option of
compressing files or directories that you want to keep. To run
it, do:
athena% add consult
athena% helpquota
3) If you have been using "delete" to mark files for deletion, run
"purge" to really remove them.
4) Determine what's taking up the most space in your account. You can
do this with the following command, which will list all the files
and directories in the directory that you're in, sorted by their
total size. (Run this in your root home directory first, then in
subdirectories if you need to)
athena% du -sk * .??* | sort -nr | more
5) Remove files that you don't need (see #6, below, for examples of
commonly unneeded files). If you want to be cautious, you can use
the "delete" command to mark files for deletion, and then the
"purge" command to remove all marked files. If you don't want to
be cautious, you can use the "rm" command to permanently remove the
files.
After you've begun cleaning out your account, you can check what
your current quota is by typing "quota -v".
6) Compress large files that you do need. There are a number of
options available on athena for compression; two are described
below.
Note, however, that if you are over quota, you will be unable to
create the compressed file in your account; in this case, you
should either do the compressing in a local directory such as
/var/tmp, or get under quota by deleting unneeded files first.
The gzip command, in the sipb and gnu lockers, has a good
compression rate.
athena% add gnu
athena% gzip -9 filename
will create filename.gz and remove filename. You can uncompress a
.gz file using the "gunzip" command, or read it without
uncompressing with the "gzcat" program, also in the gnu locker.
The zip program, in the sipb locker, can create recursive zip
archives of files and directories, and can also be unzipped on a PC
using the PKUNZIP program.
athena% add sipb
athena% zip newfile filename
will create newfile.zip from filename, and
athena% zip -r newfile directoryname
will create newfile.zip containing all the contents of
directoryname.
Note that zip does not delete the old file; you must do that
yourself.
7) Consider particularly removing files of the following types, as
they are frequently unneeded.
file~ Any file that ends in a tilde ('~') is usually an older
version of the file named "file".
#file Any file that begins with a ('#'). These are files that
are marked for deletion, and used to be removed by the
system automatically under NFS. You should delete them
yourself.
core This file may have been created when you were running a
program that failed with the message "Segmentation fault
(core dumped)" or "Bus Error (core dumped)". Core files
are useful for finding out what caused the program to
fail, but little else. They can be safely deleted.
file.dvi These files are generated by LaTeX; if you have the .tex file
file.log you can always recreate the .dvi file by latex'ing it again.
file.aux
file.o These are object files that you get when compiling C or
Fortran programs. You can regenerate them by recompiling
your programs, and so they can be safely deleted.
capture.rgb
capture.mv
These files are pictures and movies taken by the SGI
camera, respectively. They frequently take up a lot
of space; converting the .rgb file to a .gif file
using xv (in the graphics locker) will decrease the
amount of space it takes up.
.netscape/cache
This directory is created by the Netscape web
browser, and can occupy up to 5Mb of your disk
quota.
To fix this, type:
add infoagents
netscape-fix
and then remove the cache directories by typing:
cd .netscape
rm -rf cache
.capture.mv.tmp****
This sort of directory is created by the SGI
camera when a movie is recorded, and can
contain a large amount of graphics files, up
to 5 Mb for a few seconds of video.
~/Mail/mhshowXXXXXXX
This sort of file is created by "show" when it
is trying to display a MIME document. Most of
the time, it cleans up the files afterwards,
but sometimes it leaves them around
~/dumpster/XXX
This directory is created by SGIs; if you try
and delete files by dragging them into the
"dumpster" icon, they will be temporarily
placed in this directory. You can remove the
entire directory and it will be recreated
again, or you can remove the files from inside
it.
|