Re: [OpenAFS] About openafs discon mode

2013-12-21 Thread nicolas prochazka
ok, thank for all these explanations, if i refer to these slides : http://workshop.openafs.org/afsbpw08/talks/fri_1/Disconnected.pdf ;) fs discon mode on read only must work . I test discon mode using R/W volume , do you think it works better with RO volume ? Regards, Nicolas Prochazka 2013/12

Re: [OpenAFS] About openafs discon mode

2013-12-20 Thread Jeffrey Hutzelman
On Fri, 2013-12-20 at 20:11 +0100, nicolas prochazka wrote: > ok, > so discon mode cannot work ? I didn't say that. However, as it turns out, the cache manager appears to be discarding volume-level information, such as the name-to-id mappings you need to evaluate mount points. What this means is

Re: [OpenAFS] About openafs discon mode

2013-12-20 Thread Simon Wilkinson
On 20 Dec 2013, at 19:11, nicolas prochazka wrote: > so discon mode cannot work ? > and is it possible to define callback expiration time ? ( hacking code is a > solution for me, 2h=>24h) I suspect, but haven't checked, that the problem is that we're expiring volume cache entries when we s

Re: [OpenAFS] About openafs discon mode

2013-12-20 Thread nicolas prochazka
ok, so discon mode cannot work ? and is it possible to define callback expiration time ? ( hacking code is a solution for me, 2h=>24h) Regards, Nicolas Prochazka 2013/12/20 Jeffrey Hutzelman > On Fri, 2013-12-20 at 18:02 +0100, nicolas prochazka wrote: > > I only use afs files in read only

Re: [OpenAFS] About openafs discon mode

2013-12-20 Thread Jeffrey Hutzelman
On Fri, 2013-12-20 at 18:02 +0100, nicolas prochazka wrote: > I only use afs files in read only , so it should not be a problem, > I cannot find this parameter ( cache entry timeout ) of two hours in code. That's because there is no parameter. As I said, vcache entries become invalid at the callb

Re: [OpenAFS] About openafs discon mode

2013-12-20 Thread nicolas prochazka
I only use afs files in read only , so it should not be a problem, I cannot find this parameter ( cache entry timeout ) of two hours in code. Regards, Nicolas Prochazka. 2013/12/20 Jeffrey Hutzelman : > On Fri, 2013-12-20 at 17:30 +0100, nicolas prochazka wrote: >> ok, >> is it possible to define

Re: [OpenAFS] About openafs discon mode

2013-12-20 Thread Jeffrey Hutzelman
On Fri, 2013-12-20 at 17:30 +0100, nicolas prochazka wrote: > ok, > is it possible to define cache entrie timeout by configuration or by > hacking code ? Not if you don't want corrupted files. Callback lifetime is determined by the fileserver, and the protocol requires that clients invalidate cac

Re: [OpenAFS] About openafs discon mode

2013-12-20 Thread nicolas prochazka
ok, is it possible to define cache entrie timeout by configuration or by hacking code ? Regards, Nicolas Prochazka 2013/12/20 Brandon Allbery : > 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 c

Re: [OpenAFS] About openafs discon mode

2013-12-20 Thread Brandon Allbery
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/ : Ne

[OpenAFS] About openafs discon mode

2013-12-20 Thread nicolas prochazka
Hello version : openafs 1.6.6pre1 kernel : 3.11.10 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/ : Network is down f