Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!decvax!ucbvax!AI.AI.MIT.EDU!JSPEAR
From: JSPEAR@AI.AI.MIT.EDU.UUCP
Newsgroups: mod.computers.vax
Subject: Re: Diff betw show quota and dir/siz/gra
Message-ID: <130383.861214.JSPEAR@AI.AI.MIT.EDU>
Date: Sun, 14-Dec-86 13:03:06 EST
Article-I.D.: AI.130383.861214.JSPEAR
Posted: Sun Dec 14 13:03:06 1986
Date-Received: Tue, 16-Dec-86 01:44:16 EST
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The ARPA Internet
Lines: 27
Approved: info-vax@sri-kl.arpa

>Date: Tue 9 Dec 86 14:04:20-PST
>From: Richard Steinberger 
>Subject: Diff betw show quota and dir/siz/gra
>...
>When I type $ DIR/SIZ/GRAND
>VMS tells me that I have 211 files (no subdirectories on this account)
>that amount to 2072 blocks.
>
>When I type $ SHOW QUOTA
>VMS tells me that I've used up 2546 blocks of my allotement.
>
>Could someone please explain the apparent discrepancy.  Thanks

Your disk quota = file headers + file space ALLOCATED.  File headers are
stored in the MFD or [000000] directory in INDEXF.SYS, and each file will
consume at least one block (more for heavy fragmentation or long ACLs).
To see file space both used and ALLOCATED, use DIR/SIZE=ALL and the same for
your root directory ([-]xxx.DIR).  Realize that it is possible to have files
owned by you in other directories or in no directory at all (which can be
found by $ANALYZE/DISK/REPAIR). It's also possible for the QUOTA.SYS file to
become corrupted (fix with $ANALYZE/DISK/REPAIR or from DISKQUOTA, REBUILD).

This question comes up often enough that DEC really should clarify the
documentation and consider adding a file's INDEXF space to the DIR/SIZE
report.

- Jon Spear