HP OpenVMS Systems

ask the wizard
Content starts here

DIRECTORY and free disk space?

» close window

The Question is:

 
I have a couple of RZ  diskdrives.  When I do a dir/tot/siz
on them it says that I have 4,000,000 in use and yet it only
says that I have 250 blocks free where it should
say 4,000,000 free.  How do I correct this?
 
Thanks for any help with this.
 
Martha Sullivan
 


The Answer is :

 
  The DIRECTORY/TOTAL/SIZE command shows the total amount of storage in
  use by the file(s) specified by the command parameter.
 
  The DIRECTORY command does not take into account any directory alias
  entries when computing usage, and thus the reported information can be
  misleadingly high when used on disks such as OpenVMS system disks with
  multiple system roots -- each OpenVMS system disk has one or more alias
  directory entries, and DIRECTORY/TOTAL/SIZE will include the contents of
  each alias directory each time it is encountered, though there is only
  one copy of the files actually present in the common area.
 
  Also see the OpenVMS Frequently Asked Questions (FAQ) section entitled
  "FILE2.  Why does SHOW QUOTA give a different answer than DIR/SIZE?".
 
  ANALYZE/DISK/REPAIR is used to verify the disk file structure.  This
  command will also reset the disk free space information, should it be
  found to be skewed.
 
  Without more information on the specific type of RZ disk, or without
  the report of the total blocks and free blocks from SHOW DEVICE/FULL,
  it is difficult to determine if this situation is anomolous, or if this
  is correct and expected.
 
  The Wizard would recommend an upgrade to OpenVMS V6.2, or to V7.1 or
  later.
 

answer written or last revised on ( 5-JAN-1999 )

» close window