On Thu, 2007-08-30 at 15:47 -0700, Hua Zhong wrote:
"better" as in: "I now have a chance to notice, when my 'read-only
mount' is actually 'read-write'".
Yes. The default values for acregmin, acregmax, acdirmin, acdirmax are
not 600. If /a/tools and /a/share are on the same filesystem on the
server, then the NFS client should warn you that you are about to do
something that may result in cache coherency problems instead of
silently allowing it, and then leaving you to debug the coherency issue.
If you know what you are doing, then there is an option which allows you
to override the default behaviour.
Your turn to define what you mean by "working"? In my book that means "a
setup that doesn't include unexpected or unintended behaviour".
Not being able to notice cache coherency failures on a file that is
mounted in two different places with two different sets of mount options
counts as "unexpected behaviour".
Not being able to notice that your mount options have been overridden by
the kernel also counts as "unexpected behaviour".
Trond
-