[OpenAFS] pre-fetch cache

Matthew Miller mattdm@mattdm.org
Mon, 18 Jul 2005 23:17:07 -0400


On Tue, Jul 19, 2005 at 01:04:43PM +1000, Brian May wrote:
> Is it possible/feasible to prefetch files for the AFS client cache, e.g.
> during the night when network load is low, so they don't have to be
> downloaded[1] on demand during the day?

Sure.

> I have considered this might be possible by setting up a cron job,
> perhaps with the help of reauth, that has read-only access to the
> required files. This cron job could do something like "cat file >
> /dev/null" for every file to force it to appear in the cache.

Yep. :)

-- 
Matthew Miller           mattdm@mattdm.org        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>
Current office temperature: 80 degrees Fahrenheit.