Coda File System

Re: Windows XP - Disk Usage

From: Jan Harkes <jaharkes_at_cs.cmu.edu>
Date: Tue, 24 Oct 2006 14:24:46 -0400
On Tue, Oct 24, 2006 at 09:45:57AM -0600, Stéphane Zanoni wrote:
> These seems to be the condition in which messages are displayed:
> 
> When free disk space reaches 200 megabytes (MB), you receive the
> following message for 10 seconds, once per session:
> 	- You are running out of disk space on [drive]. To free space on
> this drive by deleting old or unnecessary files, click here.

Now that is interesting. So it is possible to make sure the kernel
module reports never reports 200MB or less of free space and avoid
the warnings.

Venus actually reports 2 different types of 'free space' numbers. The
difference between the two is that one reports the amount of data
cached, so ideally we cache as much as we can, so the result would be
that there is almost no free space left. This is reported as the
f_bavail result from the statfs upcall.

The other number indicates the free space if we would try to discard as
much as possible. At times a lot of the cached data cannot be discarded
because it consists of dirty objects (modified files that have not yet
been reintegrated) or directory data (which is not replaceable until all
the children are purged from the cache). This is the f_bfree value from
statfs

Of course the popup would still be useless if our cache runs low because
we need to reintegrate, the 'click here' action probably can't be
changed to the recommendations we would need for such a situation,

    Make sure we are connected to the network.
    Check if the servers are reachable (cfs cs).
    Check if the user has valid tokens (ctokens).
    Force a synchronous reintegration  (cfs fr).
    Find/repair possible reintegration conflicts.

So I guess that avoiding the popups is a better solution.

Jan
Received on 2006-10-24 14:27:34