[OpenAFS] pre-fetch cache

Brian May bam@snoopy.apana.org.au
Tue, 19 Jul 2005 13:04:43 +1000


Hello,

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?

Unfortunately read-only volumes won't help; the volume needs to be
read/write.

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.

Comments?

Notes
[1] This is in order to save time for when accessing large binary files,
eg. 20Megabytes (most likely) to 100Megabytes (worse case).
-- 
Brian May <bam@snoopy.apana.org.au>