Coda File System

Re: No more free entries in freebitmap ...

From: Peter J. Braam <braam_at_cs.cmu.edu>
Date: Tue, 7 Dec 1999 21:09:52 -0700 (MST)
Hi,

This points pretty clearly at an error in my code - it is striking that
/vicepc now has exactly 8192 inodes, precisely a factor 4 below the max. 

Perhaps there is an error in Bitv_getfree (util/bitvect.c)?   I don't see
it though.

It could also be instructive to stop the server in the debugger in f_init
(the 3 rd invocation for /vicepc ) and do "p Bitv_print(freemap, stdout)"
towards the end of that routine, to see what's going on in the bitmap.

While you are at it, also do: Bitv_count there etc and write down. 

You could also but a break at Bitv_getfree while the server is running and
create a file in a volume on /vicepc -- that should bring you into the
fatal case.

- Peter -

On Wed, 8 Dec 1999, Ying-Chieh Liao wrote:

> On ĄG ,  12 07, 1999 at 12:50:04 -0700, Peter J. Braam wrote:
> > Can you send us the beginning of this log, where the inode subsystem
> > reports the number of "inodes" in use on /vicepa? 
> 
> in SrvLog :
> 
> Partition /vicepa: inodes in use: 10283, total: 262144.
> Partition /vicepb: inodes in use: 8192, total: 32768.
> Partition /vicepc: inodes in use: 8192, total: 32768.
> Partition /vicepd: inodes in use: 8190, total: 32768.
> Partition /vicepe: inodes in use: 43722, total: 262144.
> Partition /vicepf: inodes in use: 4489, total: 262144.
> 09:28:45 Partition /vicepa: 7985594K available (minfree=7%), 881189K free.
> 09:28:45 Partition /vicepb: 7986118K available (minfree=7%), 726250K free.
> 09:28:45 Partition /vicepc: 7986118K available (minfree=7%), 968821K free.
> 09:28:45 Partition /vicepd: 7985594K available (minfree=7%), 1197295K free.
> 09:28:45 Partition /vicepe: 7986118K available (minfree=7%), 1440391K free.
> 09:28:45 Partition /vicepf: 6116753K available (minfree=7%), 1272943K free.
> 
> ps : in vicetab :
> 
> coda   /vicepa   ftree   width=64,depth=3
> coda   /vicepb   ftree   width=8,depth=5
> coda   /vicepc   ftree   width=8,depth=5
> coda   /vicepd   ftree   width=8,depth=5
> coda   /vicepe   ftree   width=64,depth=3
> coda   /vicepf   ftree   width=64,depth=3
> 
> -- 
> KISS : Keep It Simple and Stupid.
> 
Received on 1999-12-07 23:11:40