Coda File System

Re: Big coda partitions

From: Jan Harkes <jaharkes_at_cs.cmu.edu>
Date: Tue, 29 Aug 2006 15:00:23 -0400
On Tue, Aug 29, 2006 at 12:09:01AM +0200, Julian Golderer wrote:
> I'd like to setup a coda partition with about 100GB. In the tutorial it
> says I should use a data partition with 5% of the coda partition. This
> would be 5GB, but vice-setup-rvm only accepts 1GB which fails with
> following error message:
> 
> Going to initialize data file to zero, could take awhile.
> done.
> ?  ERROR: rds_zap_heap RVM_EINTERNAL.

That's odd. I guess some of the presets are off, let's see.

Ah the dynamic heap is set to 1023MB, and the static area defaults to
1MB bytes, this adds up to exactly 1073741824 (1GB) and leaves no room
for RVM's own data. Ah I see Rune already sent you a suggested
modification, that will probably work, if it doesn't make the heapsize
something like 0x3fe00000, whichs leaves a whole MB of data for RVM. I
think it really only uses a 4KB page or two, but I haven't looked at
that code recently.

I actually have 2 servers with 1GB of RVM, I remember hitting the same
problem and probably fixed the generated vice-setup-rvm file instead of
the .in version, so my change never got committed.

These servers currently store about 63GB of data but are only using
about 305MB of the available RVM for this. So for now I'm not expecting
these servers to run out until we dumped about 211GB worth of files on
them. (to get the current RVM usage, run 'volutil printstats' and check
/vice/srv/SrvLog for the following block of data,

    14:50:58 Printing RDS statistics

    Number of
     Free bytes:     2cd632c0
     Alloced bytes:  1319c9e0
     Mallocs:        4447006
     Frees:          3216747
     Preallocs:      0
     Hits:           2644405
     Misses:         1797522
     Large Hits:     1
     Large Misses:   5078
     Coalesces:      0
     Merges          571028
     Not Merged:     0

The free and allocated bytes are (not so) conveniently shown in
hexadecimal, not sure why.

> So I've to use 500MB (0.5%) for my data partition. Will this work?

It really depends on your average file size. Coda has no limitation on
the diskspace, it is the number of files that is the problem.

http://www.coda.cs.cmu.edu/maillists/codalist/codalist-2003/5931.html

Jan
Received on 2006-08-29 15:05:12