[an error occurred while processing this directive]

HP OpenVMS Systems

ask the wizard
Content starts here

Disk Space; Allocated vs Used?

» close window

The Question is:

 
How do I free up the space allocated to files but not
used?  I'm looking at the convert/reclaim command but
I'm not sure what that does.  We have several large
files on the volume such as:
 
VAX1> dir [...]/size=all
 
Directory USER_DISK:[MARKO]
...
SORTWORK0.TMP;1            0/0
SORTWORK1.TMP;1            0/0
SORTWORK2.TMP;1            0/267714
 
Total of 14 files, 1041/268779 blocks.
 
VAX1> dir [*...]/grand/size=all
 
Grand total of 1562 directories, 81098 files,
1615220/2032308 blocks. (or 417088 blocks wasted.)
 
The loss isn't too significant right now but it is
when there's a lot of temp. files.
 
What can I do to free up some space? This has filled
the disk before. I don't really want to enable quotas
(for fear of being unpopular!) to avoid the disk
filling.
 
Thanks.
 
 


The Answer is :

 
  Options include SET FILE/TRUNCATE, directory scans for 0 block files, the
  redirection of scratch files to subdirectories of a periodically-deleted
  scratch directory tree, or the blind deletion of any files found with a
  known set of file extensions such as *.TMP.  Options such as deletions
  occuring only after a BACKUP and/or on files older than a specific date
  could all be incorporated into any of the above schemes.
 

answer written or last revised on ( 29-MAR-1999 )

» close window