Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!ames!ucbcad!ucbvax!MGHCCC.HARVARD.EDU!smith%eri.DECnet From: smith%eri.DECnet@MGHCCC.HARVARD.EDU.UUCP Newsgroups: mod.computers.vax Subject: Disk allocation discrepancies and cluster size Message-ID: <8701270938.AA07313@ucbvax.Berkeley.EDU> Date: Mon, 26-Jan-87 08:50:00 EST Article-I.D.: ucbvax.8701270938.AA07313 Posted: Mon Jan 26 08:50:00 1987 Date-Received: Wed, 28-Jan-87 06:44:33 EST Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: "ERI::SMITH" Organization: The ARPA Internet Lines: 20 Approved: info-vax@sri-kl.arpa 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. ------