Coda File System

Repair problem

From: Steffen Neumann <sneumann_at_TechFak.Uni-Bielefeld.DE>
Date: 03 Dec 2001 10:24:38 +0100
Hi,

Preface: files are save, this is just to help 
coda getting better ...

I had a volume with conflicts:

	Dione(sneumann):src>cfs lv /coda/homes/sneumann/
	  Status of volume 0x7f000001 (2130706433) named "coda.homes.sneumann"
	  Volume type is ReadWrite
	  Connection State is WriteDisconnected
	  Minimum quota is 0, maximum quota is unlimited
	  Current blocks used are 282387
	  The partition has 376604 blocks available out of 3859048
	  Write-back is disabled
	  *** There are pending conflicts in this volume ***
	  There are 14 CML entries pending for reintegration

I was able to find them, but ownership looks strange, 
for a start...

	Dione(sneumann):db_ws0102>ls -l
	total 2457
	drwxr-xr-x   2 sneumann nogroup      2048 Nov  2 13:51 RCS
	-rw-r--r--   1 sneumann nogroup       196 Aug 16 15:28 TODO
	-rw-r--r--   1 sneumann nogroup       934 Jul 16 11:30 Termine
	lr--r--r--   1 root     4294967294       27 Dec  3 10:06 Uebungen -> @7f000001.00000b31.000062af

I started a repair session:

	repair > beginrepair 
	Pathname of object in conflict? []: Uebungen
	repair > setmixedview

and checked the files in question:

	Dione(sneumann):Uebungen>diff -rq *
	Only in global: #uebungsblatt04_lsg.tex#
	Files global/RCS/uebungsblatt04_lsg.tex,v and local/RCS/uebungsblatt04_lsg.tex,v differ
	Files global/missfont.log and local/missfont.log differ
	Files global/uebungsblatt04_lsg.dvi and local/uebungsblatt04_lsg.dvi differ
	Files global/uebungsblatt04_lsg.log and local/uebungsblatt04_lsg.log differ
	Files global/uebungsblatt04_lsg.tex and local/uebungsblatt04_lsg.tex differ

Accidental I only preserved one file:

	repair > preservelocal
	store /coda/homes/sneumann/lehre/db_ws0102/Uebungen/global/missfont.log succeeded
	repair > endrepair
	Commit the local-global repair session? [Y]: 
	Repair session completed.

Afterwards I did not loose the data:

  	  cfs lv .
	  Status of volume 0x7f000001 (2130706433) named "coda.homes.sneumann"
	  Volume type is ReadWrite
	  Connection State is WriteDisconnected
	  Minimum quota is 0, maximum quota is unlimited
	  Current blocks used are 282387
	  The partition has 376604 blocks available out of 3859048
	  Write-back is disabled
	  *** There are pending conflicts in this volume ***
	  There are 13 CML entries pending for reintegration

But I get EINVAL doing a ls on the directory, 
and hence can't repair things anymore (Object not in conflict)
and doing a purgeml just crashed venus.

	ls -l
	ls: Uebungen: Invalid argument
	total 2457
	drwxr-xr-x   2 sneumann nogroup      2048 Nov  2 13:51 RCS
	-rw-r--r--   1 sneumann nogroup       196 Aug 16 15:28 TODO
	-rw-r--r--   1 sneumann nogroup       934 Jul 16 11:30 Termine
	lr--r--r--   1 root     4294967294       27 Dec  3 10:17 Uebungen

Any ideas ?

Yours,
Steffen

	

Received on 2001-12-03 04:24:42