Thanks!

I built the file server using a 32-bit 386 kernel but I think 64-bit CWFS was used?  I will try to figure out somehow which block size was selected, and that gives me something to work with.

Looks like it is just under 1 GB used if I have the 4K block size, and just under 2 GB used if I have the 8K block size, of a 64.21 GB worm partition.


On 1/5/20 10:56 AM, Steven Stallion wrote:
I am trying to make sense of these numbers but having some difficulty
finding any documentation explaining them.
Your best bet is to read the source in /sys/src/cmd/cwfs; cwfs is a
ported version of the original file server, ie.  Ken's.

Can someone either point me to that documentation or walk me through how
to interpret this?
Ken's can be a little terse, but the out put is very meaningful; fsize
is what you care about in this context.  This is the number of blocks
used by the WORM.  Take this number and multiply it by RBUFSIZE to get
the number of bytes written to disk.  Assuming you're using a 64-bit
fileserver, this will be 8K by default (4K for 32-bit), but this
depends on the kernel you are using.

HTH,
Steve


------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Ta16a4beaa5de93c0-M77210e62cd5d01afd0dd0b78
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to