[OpenAFS] About openafs discon mode

nicolas prochazka prochazka.nicolas@gmail.com
Fri, 20 Dec 2013 17:30:12 +0100


ok,
is it possible to define cache entrie timeout by configuration or by
hacking code ?
Regards,
Nicolas Prochazka

2013/12/20 Brandon Allbery <ballbery@sinenomine.net>:
> On Fri, 2013-12-20 at 17:03 +0100, nicolas prochazka wrote:
>> 1 - find /afs/test.com -type f -exec cat {} >/dev/null \;
>> 2 - fs discon off
>> 3 - I can use all files without problem,
>> but after a an indefinite period  ( > 1 minutes and < 5 hours )
>> i get  ls: cannot access /afs/test.com/XXXX : Network is down   for all files
>>
>> if i redo a fs discon on , then it works again.
>
> I don't think disconnected mode is completely implemented. In
> particular, you appear to be seeing it working until the cache entries
> time out (about 2 hours) at which point it wants to access the vldb to
> see if they are still valid or not.
>
> --
> brandon s allbery kf8nh                           sine nomine associates
> allbery.b@gmail.com                              ballbery@sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonad    http://sinenomine.net
>