Re: [OpenAFS] Re: Quickie: server prefs

2013-12-20 Thread Timothy Balcer
Okie.. that directory was, in fact, mounted RW in the RO path. Interesting! Blind sided me a bit there :) Let me ask, is this what happens if you use the -rw flag to fs mkmount? I just re read the man page and.. it does seem to be true. On Fri, Dec 20, 2013 at 9:10 PM, Timothy Balcer wrote: >

Re: [OpenAFS] Re: Quickie: server prefs

2013-12-20 Thread Timothy Balcer
server 1.6.1 and client 1.6.2, client 1.6.1 both ubuntu and CentOS standard distribution. It was tested from multiple clients. VLServer is 1.6.1 ubuntu. As I said previously, it was evaluated from the RO path. /afs/domain.com/photos to be specific. No 'dot'. Thanks in advance for any help :-)

Re: [OpenAFS] Re: Quickie: server prefs

2013-12-20 Thread Jeffrey Altman
Basic questions. Which client platform and version? Is the mount point to the volume being evaluated from a rw volume instance? Once a rw volume is encountered in the path all volume access will be to the rw volume. (unless a mount point is explicitly to the volume.readonly.) On 12/20/2013

[OpenAFS] Re: Quickie: server prefs

2013-12-20 Thread Timothy Balcer
ˇTo be more clear.. the problematic server (one I was salvaging) had thr RW/RO pair, and was pref 5005. I set it to 35000 through fs getserverprefs > /tmp/foo, editing that file, and reissuing it through fs setserverprefs -stdin. The other Fileservers which had RO copies were now at about 2. I

[OpenAFS] Quickie: server prefs

2013-12-20 Thread Timothy Balcer
I took down a file server for salvaging today, part of routine maintenance. It had a RW/RO pair on it of volume 'photos', and there were two RO copies on two other fileservers (on other networks).These RO copies are mounted and online. When the salvage process started, nothing could talk to the RO

Re: [OpenAFS] Re: Request for testing: NATs and 1.6.6pre*

2013-12-20 Thread Atro Tossavainen
On Sat, Dec 21, 2013 at 12:17:05AM +0200, Jukka Tuominen wrote: > > These hangs can last 10+ seconds over WAN, but not quite a minute at least > today. However, when I straced firefox, there are indications that a > missing /etc/ld.so.nohwcap file and installed "preload" package may be > causing a

Re: [OpenAFS] Re: Request for testing: NATs and 1.6.6pre*

2013-12-20 Thread Jukka Tuominen
These hangs can last 10+ seconds over WAN, but not quite a minute at least today. However, when I straced firefox, there are indications that a missing /etc/ld.so.nohwcap file and installed "preload" package may be causing at least part of the problem. Maybe the system is trying speed up things by

Re: [OpenAFS] Re: NetInfo / NetRestrict issue

2013-12-20 Thread Måns Nilsson
Subject: [OpenAFS] Re: NetInfo / NetRestrict issue Date: Fri, Dec 20, 2013 at 10:03:16AM -0600 Quoting Andrew Deason (adea...@sinenomine.net): > On Fri, 20 Dec 2013 09:52:22 +0100 > Måns Nilsson wrote: > > > I've made a NetInfo file and a NetRestrict file, the first one > > containing the desire

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

[OpenAFS] Re: Request for testing: NATs and 1.6.6pre*

2013-12-20 Thread Andrew Deason
> On Thu, 19 Dec 2013 18:28:58 -0600 > Andrew Deason wrote: > > > But how do you know if this is a problem for you at all? Usually the > > most user-visible symptom is that access to AFS hangs while a client > > is trying to write to AFS, but a lot of different things can cause > > that. I should

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

[OpenAFS] Re: NetInfo / NetRestrict issue

2013-12-20 Thread Andrew Deason
On Fri, 20 Dec 2013 09:52:22 +0100 Måns Nilsson wrote: > I've made a NetInfo file and a NetRestrict file, the first one > containing the desired address, the second all the undesired ones. The > file server still shows up on every interface if I try a 'vos lista': You should only need to set up

Re: [OpenAFS] Request for testing: NATs and 1.6.6pre*

2013-12-20 Thread Ted Creedon
Would this be why the hourglass symbol no longer appears from a windows XP client? Without the hourglass one can't tell if the mouse click on the folder registered. tedc On Thu, Dec 19, 2013 at 9:29 PM, Jukka Tuominen < jukka.tuomi...@finndesign.fi> wrote: > > Hi Andrew, > > I'm running the la

[OpenAFS] NetInfo / NetRestrict issue

2013-12-20 Thread Måns Nilsson
Hi, I've got a server on FreeBSD9 ( acting as fs + db) that listens on a number of IP adresses, on more than one interface, but one interface has got several addresses in the same broadcast domain. I want the OpenAFS processes to listen on only one address, for all sorts of reasons. I've mad