Closed GoogleCodeExporter closed 9 years ago
Stale entries can't be removed from /var/lib/nfs/rmtab because it is not
possible to know if the client has crashed while NFS was in use (mounted), and
will want to reuse the same NFS handle again after powerup.
Personal notes:
/var/lib/nfs/rmtab has a lock on it while NFS is up (use 'ls -la /var/lib/nfs'
to see it).
There seems to exists an issue with nfs-utils-1.2.5 (or the 2.6.35.14 kernel)
that avoids the removal of some nfs kernel modules when nfs is stopped.
Editing rmtab seems to make it unalterable by the nfs daemons.
I have verified that the issue is still present in nfs-utils-1.2.6.
Adding a button to remove *all* entries is possible, but the currently active
clients should unmount NFS and the NFS server should be stopped first (which is
currently impossible because of the impossibility to remove all NFS kernel
modules).
Possibly the NFS initscript can clean rmtab at powerup, if signaled to do it by
a NFS webgui button (the same as it is done with the 'Delay NFS at startup'
button.)
Original comment by whoami.j...@gmail.com
on 5 Nov 2012 at 7:03
Closed by svn commit 2091
This is not however a cure, as /var/lib/nfs/rmtab is not reliable, and current
nfs-utils-1.2.7 does not seems to update it even when the client umounts the
export!
Original comment by whoami.j...@gmail.com
on 18 Feb 2013 at 4:36
Original issue reported on code.google.com by
thinkha...@googlemail.com
on 10 Jun 2012 at 6:59