[mod.computers.vax] Disk allocation discrepancies and cluster size

smith%eri.DECnet@MGHCCC.HARVARD.EDU.UUCP (01/26/87)

Domenico Rotondi asks:

>On our VAX system I have noticed that the disk quota information
>I get, whitin DISKQUOTA, whit:

>SHOW *,*

>disagree whit DIRECTORY ( or DIRECTORY/BY_OWNER ) totals.
>For UIC's like 1,1 the difference is very high.

Try a DIR/BY_OWNER/SIZE=ALL.  Every disk has a "cluster size" which is 
set up when it's initialized.  You can find out what it is with 
SHOW DEVICE diskname/ALL.  If the cluster size is, say, 8, then a "1-block"
file "uses" only 1 block but "allocates" 8.  

/SIZE=ALL reports both numbers, e.g. "1/8" meaning 1 used, 8 allocated.  
It's the allocation that comes out of your disk quota.  The difference 
between blocks used and allocated will be very noticeable on directories 
that have many small files.
------