[OpenAFS] another problem with vos release

Frank Burkhardt fbo2@gmx.net
Wed, 15 Jun 2005 12:09:40 +0200


Hi,

On Wed, Jun 15, 2005 at 11:21:50AM +0200, Lars Schimmer wrote:

[snip]

> I found another problem and question for me with vos release.
> The volume:
> vos examine cgdata.volume.mars
> cgdata.volume.mars                536871953 RW   76813001 K  On-line
>     leda /vicepa
>     RWrite  536871953 ROnly  536871954 Backup          0
>     MaxQuota  110000000 K
>     Creation    Wed Nov 17 12:31:34 2004
>     Last Update Wed Nov 17 18:44:35 2004
>     0 accesses in the past day (i.e., vnode references)
> 
>     RWrite: 536871953
>     number of sites -> 2
>        server leda partition /vicepa RW Site  -- New release -- Old release
>        server atlas.cg.cs.tu-bs.de partition /vicepb RO Site  -- Old release --
> Old release
> 
> should be copy to a RO volume. I made a RO volume with vos addsite on another
> server and made a vos release:
> vos release cgdata.volume.mars
> Release failed: Possible communication failure
> 
> So far so bad. After about 2h I break that action with ctrl-x or ctrl-c and
> tried it again, but it told me:
> Could not lock the VLDB entry for the volume 536871953.
> VLDB: vldb entry is already locked
> Error in vos release command.
> VLDB: vldb entry is already locked
> 
> OK, I understand that.
> Now I tried:
> vos status atlas
> Total transactions: 1
> - --------------------------------------
> transaction: 64  created: Wed Jun 15 10:51:19 2005
> volumeStatus:
> transactionFlags: delete
> volume: 536871954  partition: /vicepb  procedure: Restore
> packetRead: 17604661  lastReceiveTime: 1118826531  packetSend: 1  lastSendTime:
> 1118826531
> - --------------------------------------
> 
> vos status leda
> Total transactions: 1
> - --------------------------------------
> transaction: 1229  created: Wed Jun 15 10:31:04 2005
> attachFlags:  busy
> volume: 536871954  partition: /vicepa  procedure: ForwardMulti
> - --------------------------------------
> 
> So far so bad. How can I stop that transactions? Does OpenAFS end them without
> any further interaction or do I have to be rude?

OpenAFS ends a transaction after some minutes (default: AFAIK 10 minutes).
Use 'bos restart [fileserver] fs' to immediately cancel all transactions.

> And why does the vos release breaks at all?
> The volume isn't really very big and both servers are 2.6 kernels with 1.3.81
> versions of OpenAFS.

Maybe you find the explaination or at least some hints in /var/log/openafs/VolsetLog .

Regards,

Frank