check if you have the latest version of /sys/src/cmd/cwfs/wren.c
from sources.

the old wrenread()/wrenwrite() used non atomic seek/read/write
sequence that leaves a window for another process moving the file offset
arround under you. this caused wired checktag errors when i tried
to copy my main fileserver to another freshly created cwfs.

--
cinap
--- Begin Message ---
I believe there may be an inconsistency somewhere
in the dump records themselves. When I tried to
copy back the file from the dump, into the active
fs, after a while of copying, cwfs panicked with:

main grow ...
    tag = 5/23; expected 757/7 -- not flushed
panic: cwio: checktag c bucket
halted ...

So I ran a `check' after starting up cwfs again, but
nbad = 0
nqbad = 0
although
nmiss = 224455
and still I don't know whether the nmiss is something
that ought to be fixed, or how.
Anyways, the check doesn't seem to reveal any
tag inconsistencies - any suggestions for further tests
in revealing what might be the issue? Or possible
fixes?


Thanks,
ak

--- End Message ---

Reply via email to