Coda File System

Re: codasrv can't allocate RVM

From: Stephen J. Turnbull <>
Date: Wed, 10 Oct 2001 18:26:40 +0900
>>>>> "Jan" == Jan Harkes <> writes:

    Jan> It might be smart to first grow the log a bit to create a
    Jan> buffer if I forgot to block any logging in some obscure code
    Jan> paths. And then we turn off the resolution log which should
    Jan> stop the server from adding anything else.

    Jan>     volutil -h <server> setlogparms <volumeid> reson 4 logsize 8192
    Jan>     volutil -h <server> setlogparms <volumeid> reson 0

This didn't help.

    Jan>     norton-reinit -rvm <rvmlog> <rvmdata> <rvmdatalength> -dump \
    Jan> 	ServerDump skip <volumeid> <volumeid>...


    Jan>     vice-setup-rvm


    Jan>     norton-reinit -rvm <rvmlog> <rvmdata> <newrvmdatalength> -load \
    Jan> 	ServerDump skip <volumeid> <volumeid>...

Wups.  I got the following result with no skips, skip the first, skip
the first and second.  Only the "skipping" messages and the identity
of the volume needing salvage changes.  (Do I need to make the dump
with skip to load with skip?  I didn't.)  How do I salvage?  Do I go
back to the copies of DATA and LOG that I dutifully made, or can I
somehow operate on the dump?

tleepslib:/home/steve# norton-reinit -rvm /mnt/old.vicepa/LOG /mnt/old.vicepa/DATA 46137344 -load /playpen/coda-recovery/ServerDump skip 1000001 1000002
Skipping volume: 0x1000001
Skipping volume: 0x1000002
About to call RVM_INIT
About to call rds_load_heap
Partition /vicepa: inodes in use: 13435, total: 262144.
Partition /vicepb: inodes in use: 2495, total: 262144.

Date: Wed 10/10/2001

16:48:56 Partition /vicepa: 727892K available (minfree=5%), 469232K free.
16:48:56 Partition /vicepb: 930512K available (minfree=5%), 643440K free.
Skipping volume 0x1000001
Skipping volume 0x1000002
Reading volume 0x1000003
16:48:56 VAttachVolume: volume V0016777219 needs to be salvaged; not attached.
VAttachVolume returns error 101 when attaching 0x1000003

University of Tsukuba                Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences       Tel/fax: +81 (298) 53-5091
	  Don't ask how you can "do" free software business;
	  ask what your business can "do for" free software.
Received on 2001-10-10 05:26:49