[OpenAFS] Re: VLDB volume lock info
Kim Kimball
dhk@ccre.com
Wed, 18 Aug 2010 10:32:13 -0600
On 6/21/10 4:38 PM, Andrew Deason wrote:
> On Mon, 21 Jun 2010 17:26:10 -0500
> Andrew Deason<adeason@sinenomine.net> wrote:
>
>
>> This information is stored in the vldb, but is not available to any VL
>> RPCs.
>>
> Er, actually, the 'reason' is available to the vldb RPCs. But the
> timestamp is not, and the 'reason' flags are not currently interpreted
> by vos for you (except to say "Volume is currently LOCKED").
>
>
Before unlocking the VLDB entry I issue a "vos status" on each
fileserver and look for the volume ID (numeric.) If there's no current
operation reported (by any fileserver) on the volume , I release the
lock, assuming that there's not a reason for it to be held longer. YMMV
Kim