Coda File System

Re: How to get rid of salvage errors

From: Jan Harkes <jaharkes_at_cs.cmu.edu>
Date: Fri, 29 Sep 2000 18:34:39 -0400
On Thu, Sep 28, 2000 at 12:08:14PM +0200, Ulrich Hahn wrote:
>  I just can find no way (not removing the whole volume) to restart
>  the coda server as it hangs while salvaging vol 0x1000003
> 
> ---- SrvLog ----
> 11:53:53 Entering DCC(0x1000003)
> Dir entry 0x8186d20, name cache39900A8223B0F88, should be i nhash bucket
> 73, but is in 3511:53:53 DCC: Bad Dir(0x1000003.103.362) in rvm...Aborting
> 11:53:53 DCC: Salvaging Logs for volume 0x1000003
> 
> 11:53:53 Salvage vol 0x1000003: fatal error.
> ---------------
> 
>  I tried to remove the offending file with norton but did not succeed.
>  Any way to delete the offending dir with norton or any other tool?

We have no tools that are capable of correcting this kind of
corruption. Essentially the volume is lost. You can bring up the server
by disabling salvaging (and attaching) of this specific volume by
creating a file /vice/vol/skipsalvage containing:

<nr volumes>
<volumeid>
<volumeid>
...

So in your case that would be

1
0x1000003

It is then possible to use volutil purge to remove the volume from the
server. The volume isn't actually removed until the server is restarted.

Jan
Received on 2000-09-29 18:38:44