Via:        UK.AC.LSPLY; 16 NOV 92 11:24:38 GMT
Via: courier (novell-smtp-gateway.leeds-poly.ac.uk); Mon, 16 Nov 92 11:25:45 GMT
Encoding:   82 TEXT
X-Mailer:   Network Courier V2.1b
Newsgroups: bit.listserv.novell
Date:         Mon, 16 Nov 1992 11:24:00 PST
Reply-To:     Novell LAN Interest Group <NOVELL@SUVM.BITNET>
From:         Angus Orde <A.Orde@LEEDS-POLY.AC.UK>
Subject:      Volume Full (only it isn't) - Solution!

The original cry for help is at the end of this message. Basically, one of my
volumes was claiming to be full while the total sizes of all the files was
much less than the volume space.

Thanks to all the people who sent me ideas. The consensus seems to be
correct, and that points to directory entries. When I rebooted my fileserver,
I regained some of the lost space, leaving me only 23 Mb adrift.

Here is one response:

   Angus, I suspect that part of the space of the volume that seems missing is
   being used for directory entries.  Every 4 directory entries take 1 KB of
   diskspace. For every subdirectory you create on the volume, the server
   precreates  16 directory entries. Thus for evry directory you create 4KB of
   diskspace is used. If a directory has more than 16 files, more entries are
   created, I haven't checked out if it is in multiples of 16 or not.

   When you run VOLINFO, you will be able to see how much Netware 3.x has
   created and how many is free. Seeing that 16 entries are reserved
   exclusively per directory, which is NOT available to keep entries for
   other subdirectories

   The only way to reduce the directory entries is to recreate the volume !

The directory entries from Volinfo are

Total:      68,192
Free:       63,287      {this figure changes, but not by much}

Presumably at some point somebody created hundreds of directories that have
now been deleted. Why the total memory lost went up to 110Mb, I'm not sure,
and why I am now losing 20Mb instead of 16Mb for directories (using the 1Mb
for every 4 directories) I am not sure. This does seem to be it though.

I was also told that the amount of space allocated to directories default to
a maximum of 13% of the Volume size, and that this is configurable using a
set command (File System Parameters).

Cheers

Angus
******                                                               ******
Angus Orde                           Email:    a.orde@leeds-poly.ac.uk
Leeds Metropolitan University          Tel:    (UK) 0532 832600 x 3084
Computing Services                     Fax:    (UK) 0532 833145
****** How many different topologies and protocols can you juggle ?? ******
>I have just gone through the problem of one of our user volumes claiming to
>be full, and repeating this message to every user on the network, while
>preventing the creation of new files etc.
>
>I checked using CHKVOL, then expanded the volume to create more space.
>
>CHKVOL claimed something similar to:
>
>    Total volume space:                     178,080  K Bytes
>    Space used by files:                    176,428  K Bytes
>    Space in use by deleted files:                0  K Bytes
>    Space available from deleted files:           0  K Bytes
>    Space remaining on volume:                1,628  K Bytes
>    Space available to CSUSANGUS:             1,628  K Bytes
>
>I was rather surprised that it should be full, so I ran:
>
>NDIR *.* /SUB
>
>from the root directory of the Volume, with the final totals of:
>
>    62,218,465 total bytes in 2959 files
>    66,822,144 total bytes in 16314 blocks
>
>I checked this total with the SRCH utility, and that gives a similar total.
>
>I checked the SYS: volume and the totals are correct.
>
>What has happened to my disk space?
>Where have my 110Mb gone?
>
>If anyone has any ideas, please let me know, as this proportion of wastage on
>my volumes is awful.
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU