From: CSBVAX::CSBVAX::MRGATE::"SMTP::CRVAX.SRI.COM::RELAY-INFO-VAX" 11-NOV-1988 21:49 To: MRGATE::"ARISIA::EVERHART" Subj: RE: General scratch facility Received: From KL.SRI.COM by CRVAX.SRI.COM with TCP; Fri, 11 NOV 88 09:54:02 PDT Received: from CUNYVM.CUNY.EDU by KL.SRI.COM with TCP; Fri, 11 Nov 88 09:03:38 PST Received: from HUTRUU51.BITNET by CUNYVM.CUNY.EDU (IBM VM SMTP R1.1) with BSMTP id 6057; Fri, 11 Nov 88 11:38:47 EDT Date: Fri, 11 Nov 88 17:35 N From: (Henk Mos /Fysisch Lab RU Utrecht/) Subject: RE: General scratch facility To: info-vax@kl.sri.com X-Original-To: jack@nrchep,info-vax@kl.sri.com, MOS To enable the use of scratch space we created an account SCRATCH, with about the same characteristics as DECnet (network only). An entry for SCRATCH is created with subdirectories for every user (directory name == username) of the scratch. Quota is enabled for SCRATCH (200 Mbyte). In SYLOGIN.COM for every user a logical SCRATCH and FSCRATCH is defined like: $ username = F$GETJPI("","USERNAME") $ DEFINE scratch "nodename""scratch password""::[.''username']" $ DEFINE fscratch "LCL$SCRATCH:[''username']" $ scratch_s*pace == "@SYS$SYSTEM:tell nodename""scratch password"":: show quota" LCL$SCRATCH is defined as disk:[scratch.] To use the scratch, all they have to do are things like: $ copy myfile.dat scratch $ edit/edt scratch:data.txt $ etc. For fast read access (scratch uses decnet) they can use fscratch. The command scratch_space informs how many blocks are available in the scratch (using TELL.COM). Every day at noon we run a selfrestarting batchjob to delete files in the scratch which are older (modified date) then 7 days. One day in advance users are informed (by the same batchjob) which of their files will be deleted the next day (mail). Advantages: Simple to use, one quota entry, no management Can be used from outside the cluster Disadavantages: Uses DECnet (sometimes many FAL's running) Can be used from outside the cluster /Henk -------------------------------------------------- + Henk J. Mos ++ Tel: 30 532239 + + University of Utrecht ++ MOS@HUTRUU51 (BITNET) + + Physics Laboratory ++ RUUNSC::MOS (SURFNET) + + Computer Department ++ PSI%13401480610::MOS + + P.O. Box 80.000 -------------------------- + 3508 TA Utrecht + + The Netherlands + ------------------------