psrtc_pcs_disk_space.mem ------------------------ Introduction: ------------ On the ppcc computer (rich.pppl.gov as of 17-Feb-2004), certain disk partitions tend to get pretty full. These must be checked periodically, and some action taken. The most likely disk-space problems will be in: /export/home/ and /data/ Each of these partitions is addressed below ... /export/home/ ------------- o /export/home/pceic (~pceic home directory) o Other user directories Details: o /export/home/pceic (~pceic home directory) This includes all of the "d.o" files in ~pceic/rtc, which are created by the psrtc program (rtc860 or whatever). Older "d.o" files must be compressed using gzip. > su - # cd ~pceic/rtc # gzip d_109*.o Periodically, the oldest of these will be copied to /data/psrtc and deleted from the local directory. > su - # cd ~pceic/rtc # # cp d_108*.gz /data/psrtc/ -OR- # tar cf - d_108*.gz | (cd /data/psrtc ; tar xvf -) # # /bin/rm d_108*.gz o Other user directories Just keep an eye on them ... /data partition --------------- /data holds o pcs "s" files o compressed "d.o" files copied from ~pceic/rtc o other stuff Details: o pcs "s" files: Files for cpu1 (s*_cpu1.dat) can be deleted outright. In fact, the "operator's setup data" should specify that the cpu1 s-file should not be saved As for files from cpu2 and cpu3, shots which did not use rtefit can probably be deleted. Check with a knowledgeable and caring "pic" (like David Gates or Dennis Mueller) before deleting. o compressed "d.o" files copied from ~pceic/rtc When a lot of these accumulate, they are copied to the unix cluster via ftp and then deleted locally. Example of moving files for shots 105* from rich to unix cluster: On unix cluster: - Make sure that directory /p/nstxusr1/psrtc/105 exists; - Make sure that you can write to it! Grp owner should be nstx_sw, with "write" access allowed to "group". On ppcc (rich.pppl.gov) > su - #become root # cd /data/psrtc # ftp taurus Name: xyz Password: xxxx ftp> cd /p/nstxusr1/psrtc/105 ftp> bin #Binary transfer mode ftp> prompt ftp> mput d_105*.gz ftp> quit # # /bin/rm d_105*.gz #Delete transferred files