[OpenAFS] Linux find command inconsistent

Michael Meffie mmeffie@sinenomine.net
Tue, 15 Sep 2015 16:12:22 -0400


> See above. The RHEL6/Ubuntu result is likely to be the better one.
> 
> In any case, find and AFS have never been friends and probably can't be.
> 
> OpenAFS releases since 1.6.10 include the volscan(8) utility. It will not be
> quite as trivial to use for your purposes since you need to run it on volumes
> and stitch paths as seen by clients together yourself, but for just that
> reason results will be meaningful - for example in the presence of circular
> mounts. And it's much more efficient too.

A small perl script called 'afs-vol-paths' is available in the openafs-contrib
afs-tools repo on github which will process the output of volscan from each
server to generate full paths. It will detect cycles too.  The repo is located at:

    https://github.com/openafs-contrib/afs-tools

and the file is under the admin directory.

Thanks,
Mike

-- 
Michael Meffie <mmeffie@sinenomine.net>