From: Chris Doran [chrisj.doranNOchSPAM@physics.org.invalid] Sent: Thursday, May 25, 2000 12:01 PM To: Info-VAX@MVB.SAIC.COM Subject: Re: disk usage keeps growing... >deWaard@wt.tno.nl on 05/25/2000 10:33:34 AM >... >I have (at the moment) a little problem, something is currently consuming >disk-space and soon the disk will be full (big problem). I have done some >investigation, walked trough all the directories, cleaned up some old files, but >the cleaning up did just a little good, gain some free space. The disk (RZ40) is >also mounted on other systems (all alpha OpenVMS 7.2), but only as a 'data disk' >has a capacity of max 17.773.524 blocks, when I do a dir/total it gives used >2.947.263 blocks, so you'll think that there should be about 14.800.000 free > ... Did you put /SIZE=ALL on your DIR/TOTAL? There may be files with unused blocks allocated. Without /SIZE=ALL, DIR only tells you about the used ones. You can truncate files with huge amounts of extra space using SET FILE/TRUNCATE. Note that according to how your disk was initialised, the file system allocates a minimum amount of space to each file, so if you have lots if 1-block files, you actually have lots of 4-block (or bigger) allocations. Probably not your problem, or you'd have mentioned it, but while I'm on the subject: If this is a _system_ disk on one machine (I know you said it's a 'data disk' on others) remember that VMS has a number of log files which grow for ever unless you keep purging and re-creating them. Here's list of these "weeds", and ways of keeping them down:- Weed: SYS$MANAGER:OPERATOR.LOG Weedkiller: $ ASSIGN/USER OPA0: SYS$COMMAND ! (If not running on OPA0:) $ REPLY/LOG $ PURGE SYS$MANAGER:OPERATOR.LOG Weed: SYS$ERRORLOG:ERRLOG.SYS Weedkiller: $ RENAME SYS$ERRORLOG:ERRLOG.SYS SYS$ERRORLOG:ERRLOG.OLD $ PURGE SYS$ERRORLOG:ERRLOG.OLD Weed: SYS$MANAGER:ACCOUNTNG.DAT Weedkiller: $ SET ACCOUNTING/NEW $ PURGE SYS$MANAGER:ACCOUNTNG.DAT Weed: SYS$MANAGER:SECURITY.AUDIT$JOURNAL Weedkiller: $ SET AUDIT/SERVER=NEW_LOG $ PURGE SYS$MANAGER:SECURITY.AUDIT$JOURNAL Weed: SYS$SYSTEM:SYS$QUEUE_MANAGER.QMAN$JOURNAL Weedkiller: $ MCR JBC$COMMAND JBC$COMMAND> DIAG 7 (ignore messages) Note: This is actually a bug which crept into certain (VAX?) VMS releases only and is probably fixed in V7.2. The first command(s) in each set create new files. Issue the purge commands a few days later (or after your next re-creation). Chris * Sent from RemarQ http://www.remarq.com The Internet's Discussion Network * The fastest and easiest way to search and participate in Usenet - Free!