[OpenAFS] Is it in the cache?

Tim Theisen ttheisen@tomotherapy.com
Fri, 27 Apr 2007 08:37:26 -0500


I was experimenting using AFS on my cluster and the results look pretty
good.

However, one of the cluster job developers wants to know if there is a
way to tell whether or not a file is in the AFS cache.  His jobs compute
a fair amount of intermediate data and when the second part of his job
starts up, the node ranks may not be the same.  He'd like a way to
quickly determine what is in the cache and read everything local.

Is there anyway to determine if a file's data is cached locally given
the path to the file?

...Tim
--
       Tim Theisen                     Lead Research Software Engineer
Phone: +1 608 824 2848                 TomoTherapy Incorporated
  Fax: +1 608 824 2996                 1240 Deming Way
  Web: http://www.tomotherapy.com      Madison, WI 53717-1954 =20