Coda File System

Re: codasrv: open_log failed RVM_EIO

From: Malte Grosche <malte.grosche_at_rhul.ac.uk>
Date: Tue, 27 May 2003 18:09:07 +0100 (BST)
Dear Jan,

Thank you very much for your help. It seems to have worked. First I have 
checked the status of the log partition using rvmutil, status:

Status of log:           /dev/hda7

  log created on:        Fri Nov 16 2001 18:22:17.096683
  log created with:      RVM Interface Version 1.3  7 Mar 1994
                         RVM Log Version  1.4 Oct 17, 1997
                         RVM Statistics Version 1.1 8 Dec 1992
  status last written:   Tue May 27 2003 13:47:26.941342
  last truncation:       Tue May 27 2003 13:47:26.941341

  log head offset:          2614816

  previous head offset:     2614816
  log tail offset:          2615588
  previous tail offset:     2615588
  log empty:             false

  space used by records:        772
  space available:         12582140
  status area size:            1536
  status area offset:          8192
  total log size:          12592640

  first record number:       547831
  last record number:        547831
  first timestamp:       null
  last  timestamp:       null
  first trans. uname:    null
  last  trans. uname:    null


-----------------------------------------------
However, on applying <recover>:
* o /dev/hda7
* recover

? I/O error from (null) in recovery: 14

Tried again:
* recover
rvmutl: rvm_logrecovr.c:2614: log_recover: Assertion `status->trunc_state 
== 0' failed.
Aborted


-----------------------------------------------
After wiping the log with i /dev/hda7 38M (the size of the partition
is 40MB):

Status of log:           /dev/hda7

  log created on:        Tue May 27 2003 17:56:26.201258
  log created with:      RVM Interface Version 1.3  7 Mar 1994
                         RVM Log Version  1.4 Oct 17, 1997
                         RVM Statistics Version 1.1 8 Dec 1992
  status last written:   Tue May 27 2003 17:56:53.637035
  last truncation:       Tue May 27 2003 17:56:26.201258

  log head offset:             9728

  log tail offset:            43292
  log empty:             false

  space used by records:      33564
  space available:         39812324
  status area size:            1536
  status area offset:          8192
  total log size:          39855616

  first record number:            1
  last record number:            28
  first timestamp:       null
  last  timestamp:       null
  first trans. uname:    null
  last  trans. uname:    null

----------------------------------------------

I was then able to start up the codaserver and it seems to
be working fine now. I'd be curious what went wrong, though - some 
configuration mistake on my part?

Bye - Malte


-- 

Dr. Malte Grosche			Tel: 01784 443499 
Royal Holloway, University of London	Fax: 01784 472794 (dept.)
Egham Hill	 			email: malte.grosche_at_rhul.ac.uk
Egham, Surrey TW20 0EX, UK		url: http://pc176.ph.rhul.ac.uk
Received on 2003-05-27 13:11:43