Re: atimes not updated over NFS



On 2008-01-02, robertharvey@xxxxxxxxxxx <robertharvey@xxxxxxxxxxx> wrote:
On 2008-01-02, Andre Majorel <cheney@xxxxxxxxxxxxxxx> wrote:

After upgrading an NFS server from kernel 2.6.12 to 2.6.23, the
atime of files is not updated any more when clients read them

Reading the file locally, i.e. on the NFS server, does update
the atime

/nfsmnt is mounted with options :
- server : rw,noexec,nosuid,nodev,nodiratime
- client :
rw,user=root,nosuid,nodev,nodiratime,intr,rsize=8192,wsize=8192

I'd try it without the "nodiratime" option, just to see if that is
also implying "noatime" for some bizzare reason. You could also
explicitly add "atime" as an option.

IME some of these mount options are not well documented.

Tried without nodiratime on both the server and the client. Made
no difference ; the atime is still not updated when a file is
accessed via NFS.

--
André Majorel <URL:http://www.teaser.fr/~amajorel/>
(Counterfeit: yqorahur@xxxxxxxxxxx osih@xxxxxxxxxxxx)
Face down, nine edge first.
.



Relevant Pages

  • Re: Where do I go from here?
    ... NFS server and Sunfish or OmniNFS client on RISC OS. ... there isn't a Windows client or server for it, ...
    (comp.sys.acorn.networking)
  • Re: vn_fullpath() again
    ... The NFS server problem I was referring to specifically came up in the case ... flushing its name cache and other state. ... - The NFS client begins to look up and access files relative to the handle ...
    (freebsd-hackers)
  • Re: NFS Locking Issue
    ... to FreeBSD 6.x and later. ... Turn off rpc.lockd on either the server or client before the cp command, ... At one point we had in our test network a 6.1 NFS server providing files to 5.4 diskless clients without any problems. ...
    (freebsd-stable)
  • Re: [opensuse] NFS misconfig problem w/files >2GB
    ... So far haven't gotten kernel-based nfs server to work remotely -- works ... But after the mount points are created, if I try to access any, the ... client to remount all of the server-exported filesystems. ...
    (SuSE)
  • Re: PROBLEM: [2.6.22.1] Copying to full NFS dir
    ... The NFS server has a directory which is full. ... That directory is mounted on the NFS client. ... goto remove_request; ...
    (Linux-Kernel)