Coda File System

Re: repairing of removed files in conflict

From: Juan Carlos Schroeder <jcsc_at_adinet.com.uy>
Date: Fri, 2 Jul 2004 12:12:25 -0300
Hi:

As you don't mention it, have you tried repairing the conflicts using the
"repair" tool?
As far as I know, for this you have to do a "repair" in the command line,
and then "beginrepair 'filetorepair'". If you haven't, see the "Repairing an
inconsistent directory", section 2.6, of the "Coda File System User and
System Administrators Manual":

http://www.coda.cs.cmu.edu/doc/html/manual/x518.html

Saludos,
Juan Carlos

news:200407021330.48094.mreithinger_at_web.de...
> I am currently playing around with coda, and coda seems to have some
problems
> with files which are modified on one client and removed on an other
client.
>
> Sample Scenario:
>
> Preconditions:
> a) A test_vol volume is mounted in the route volume.
> b) Both client are connected to the server, till now everthing works fine.
> c) on client 2 venus was invoked with venus -d 1000
>
>
> 01   client1: mkdir /coda/test_domain/test_vol/test_dir
>
> 02   client2: echo line1 > /coda/test_domain/test_vol/test_dir/test_file
> 03   client2: cfs disconnect
> 04   client2: rm /coda/test_domain/test_vol/test_dir/test_file
>
> 05   client1: echo line2 >> /coda/test_domain/test_vol/test_dir/test_file
>
> 06   client2: cfs reconnect
>
> After a while client2 tries to reintegrate. Venus prints out
>
> 12:48:31 Checkpointing test_vol
> 12:48:31 to /var/lib/coda/spool/1001/test_domain_test_vol.tar
> 12:48:31 and /var/lib/coda/spool/1001/test_domain_test_vol.cml
> 12:48:31 Local inconsistent object at /coda/test_domain/test_vol/test_dir,
> please check!
>
> 12:48:31 Reintegrate: test_vol, 1/1 records, result = Unknown error 198
> 12:51:24 volume test_vol has unrepaired local subtree(s), skip
checkpointing
> CML!
>
> 12:51:39 Local inconsistent object at /coda/test_domain/test_vol/test_dir,
> please check!
>
>
> 07   client2: cfs lv /coda/test_domain/test_vol/test_dir
>        Status of volume 0xffffffff (4294967295) named "Repair"
>        Volume type is Backup
>        Connection State is Connected
>        Minimum quota is 0, maximum quota is unlimited
>        Current blocks used are 0
>        The partition has 0 blocks available out of 0
>        Write-back is disabled
>
>
> 08   client2: cfs lv /coda/test_domain/test_vol
>        Status of volume 0x7f000005 (2130706437) named "test_vol"
>        Volume type is ReadWrite
>        Connection State is WriteDisconnected
>        Minimum quota is 0, maximum quota is unlimited
>        Current blocks used are 6
>        The partition has 19788276 blocks available out of 37928300
>        Write-back is disabled
>        *** There are pending conflicts in this volume ***
>        There are 1 CML entries pending for reintegration
>
> 09   client2: ls -l /coda/test_domain/test_vol
>      drwxr-xr-x    2 michaelr nogroup      2048 2004-07-02 12:46 test_dir
>
>
>
> How do I bring back my test_vol to a connected state?
>
> Michael
>
> PS: my coda version is 6.0.6 (debian)
>
>
>
>
>
>
>
Received on 2004-07-02 11:21:47
Binary file ./codalist-2004/6541.html matches