[OpenAFS] Linux find command inconsistent
John Sopko
sopko@cs.unc.edu
Wed, 16 Sep 2015 10:24:20 -0400
Thanks, I briefly checked it out and it looks like it will give me the
volume/mountpoint list.
On Tue, Sep 15, 2015 at 4:12 PM, Michael Meffie <mmeffie@sinenomine.net> wrote:
>
>> 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>
--
John W. Sopko Jr.
University of North Carolina
Computer Science Dept CB 3175
Chapel Hill, NC 27599-3175
Fred Brooks Building; Room 140
Computer Services
email: sopko AT cs.unc.edu
phone: 919-590-6144