automating 'vos release'

Kim Kimball Kim Kimball" <kim@ccre.com
Mon, 23 Apr 2001 09:57:34 -0600


Get all the ReadOnly times, and "sort -u" the result.  If you have more than
one ReadOnly update time, the read only volumes are out of synch with
themselves -- some users will see older data.  If the ReadOnly update times
> 1, the volume probably needs to be released anyway.  Under this
circumstance, I use vos release -force -- so that a new release clone is
created for sure.

Kim Kimball
CCRE, Inc.

----- Original Message -----
From: "Jim Barlow" <jbarlow@ncsa.uiuc.edu>
To: "David R Boldt" <dboldt@usgs.gov>
Cc: <info-afs@transarc.com>
Sent: Monday, April 16, 2001 9:23 AM
Subject: Re: automating 'vos release'


> On Mon, Apr 16, 2001 at 11:02:37AM -0400, David R Boldt wrote:
> >
> > * if the read/write version of a volume has not changed since
> >    the last release, will "vos release" no-op, or will it try to
> >    synchronize anyway.
>
> It will try to sync with the RO copies.  However, it will only update the
> modified information.
>
>
> > * would it make sense to attempt to determine whether a volume
> >   has changed before doing a release?  --I don't have a very good
> >   sense for how resource expensive "vos release" is.
> >
> >    if it would be a good idea to only release when necessary, is there
> >    a more efficient way to discover whether a read/write volume has
> >    changed since the last release other than comparing the mtimes
> >    of all directories in the volumes?
> > Is anyone else doing this sort of thing?
>
> We do this very thing with a perl script with a large number of our
> volumes.  However, you can check the "Last Update" time of a read-write
> volume against one of it's corresponding read-only volumes to determine
> if a vos release needs to be done (done with a vos exam).  You can check
> just one read-only copy, or all of them.
>
>
> --
> James J. Barlow   <jbarlow@ncsa.uiuc.edu>
> Senior System Engineer
> National Center for Supercomputing Applications    Voice : (217)244-6403
> 605 East Springfield Avenue   Champaign, IL 61820   Cell : (217)840-0601
> http://www.ncsa.uiuc.edu/People/jbarlow              Fax : (217)244-1987