[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference star::wizards

Title: "ASK THE WIZARDS"
Moderator:QUARK::LIONEL
Created:Mon Oct 30 1995
Last Modified:Mon May 12 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1857
Total number of notes:3728

1561.0. "Open: gaining disk space when files deleted" by STAR::JKEENAN () Tue Feb 11 1997 08:39

Return-Path: "VMS001::WWW"@vms001.das-x.dec.com
Received: by vmsmkt.zko.dec.com (UCX V4.1-12, OpenVMS V6.2 VAX);
	Mon, 27 Jan 1997 22:26:01 -0500
Received: from vms001 by mail11.digital.com (8.7.5/UNX 1.5/1.0/WV)
	id WAA04054; Mon, 27 Jan 1997 22:16:56 -0500 (EST)
Date: Mon, 27 Jan 1997 22:17:04 -0500
Message-Id: <[email protected]>
From: "VMS001::WWW"@vms001.das-x.dec.com (27-Jan-1997 2217)
To: [email protected], [email protected], [email protected]
Subject: Ask the Wizard: '[email protected]'
X-VMS-To: [email protected]

Remote Host: ad15-079.compuserve.com
Browser Type: SPRY_Mosaic/v8.32 (Windows 16-bit) SPRY_package/v4.00
Remote Info: <null>
Name: Sidney Ross
Email Address: [email protected]
CPU Architecture: VAX
Version: v 6.1
Questions: 

I've deleted some large files from a directory in disk DIA30: using the $ DELETE command.  The command $DIR/SIZE indicates the files have been deleted, but when I do the command $ SHOW DEV DIA30: there is no increase in the # of free blocks.  What must I 
do to actually gain the disk space when files are deleted?
T.RTitleUserPersonal
Name
DateLines
1561.1DELETE Frees Space When Last Accessor Closes...XDELTA::HOFFMANSteve, OpenVMS EngineeringTue Feb 11 1997 13:4119
:I've deleted some large files from a directory in disk DIA30: using the
:$ DELETE command.  The command $DIR/SIZE indicates the files have been
:deleted, but when I do the command $ SHOW DEV DIA30: there is no increase
:in the # of free blocks.  What must I do to actually gain the disk space
:when files are deleted?

   If the files are not being held open by an application, the space is
   is freed immediately -- otherwise, the space is freed when the last
   accessor closes the file.  If a file is held open by an application,
   check the application documentation for information on how to request
   the application `close' the file(s).

   Also look for another application that is consuming the available
   freespace as fast as you can free it.

   Use SHOW DEVICE/FILE/NOSYST DIA30: to see which applications have
   file(s) open on DIA30:, and check these files and these applications
   for `run away' file extensions.