[OpenAFS] Re: VLDB volume lock info
Wed, 23 Jun 2010 10:47:05 -0500
On Wed, 23 Jun 2010 08:39:53 -0400
Jason Edgecombe <firstname.lastname@example.org> wrote:
> How should this be made better going forward? Should it be documented
> or vos changed?
Proposed vos and vldb_check changes are in gerrit 2235 and 2236. It
makes 'vos' output look like this; how's this?
number of sites -> 1
server lenny-1 partition /vicepa RW Site
Volume is currently LOCKED
Volume is locked for a delete/misc operation
With similar messages for the other lock types. I was about to put the
information on the same line as the LOCKED message... but I thought it
might be bad for output-scrapers. And it's technically possible for more
than one lock flag to be set at the same time (though nothing does that
The lock timestamp is not available to 'vos', so we either need to get
new VL RPCs (I don't think it's worth it for this alone, but when they
are changed in the future, it's something to remember). Whether or not
to document the vldb_check route of determining this I leave to the
documentation people; it seems like a rather unsupported way of doing
things, but I don't know, still possibly useful.