On 2018-03-13 18:20, Andrei Borzenkov wrote:
13.03.2018 18:05, Carlos E. R. пишет:
Telcontar:~ # l /var/lib/nfs/rmtab -rw-r--r-- 1 root root 308 Jul 14 2013 /var/lib/nfs/rmtab Telcontar:~ #
BUT, according to the man page (rpc.mountd):
Note, however, that there is little to guarantee that the contents of /var/lib/nfs/rmtab are accurate. A client may continue accessing an export even after invoking UMNT. If the client reboots without sending a UMNT request, stale entries remain for that client in /var/lib/nfs/rmtab.
Not even that!
Shouldn't that info be cleared at least on boot, perhaps on restart of the nfsd daemon?
NFSv3 is stateless, server can reboot or resource can fail over to completely different system and clients will continue access it transparently (with some delay of course). Clearing this table will err on other side - remove current valid clients that are actively using resources from server.
Oh :-o Still, I have files there from 2013, all the machines have been rebooted since. One has not been powered up since. I guess I should then erase information manually.
Should I report this in bugzilla?
If there is a bug, it is in NFS protocol which cannot be changed.
-- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)