Privacy and Security Notice

Archived Messages for CLAS_OFFLINE@cebaf.gov: disk space: please!

disk space: please!

Richard Thompson (richardt@CEBAF.GOV)
Mon, 05 Jan 1998 17:09:41 -0500 (EST)

Please! There is real need to clean up our work disks:

jlabs3> df -k /work/clas/disk1
Filesystem kbytes used avail capacity Mounted on
33448584 33183792 0 100% /net/farms0/work4

jlabs3> df -k /work/clas/disk2
Filesystem kbytes used avail capacity Mounted on
33448584 30405440 1370720 96% /net/farms0/work5

jlabs3> df -k /work/clas/disk3
mss1-bb:/net/mss1/work1
66903336 61130032 2428136 97% /net/mss1/work1

To see a listing of all the files larger than 500Mb that you own, type:

find . -size +500000k -user myusername -ls

(replacing your username for myusername) from the directory you wish (ie
/work/clas/disk3).

Or leave off the -user switch to see all the files larger than 500Mb.

An example of how to archive a file to tape, so that you can free up disk
space:

jput r7999.cooked /mss/home/richardt/dec97/r7999.cooked

You will get an email message when it's done and you can safely remove the
file.

Getting the file back off tape is easy. For example:

jget /mss/home/richardt/dec97/r7999.cooked r7999.cooked

To remove all of the files larger than 500Mb that you own (and be prompted
for each file), type

find . -size +500000k -user myusername -exec rm -i {} \;

Please.

\ R A Thompson /
/ Dept of Physics and Astronomy University of Pittsburgh \
\ Pittsburgh, PA 15260 /
/ richardt@cebaf.gov 757-269-7475 \