On 3/27/06, Steinar H. Gunderson <[EMAIL PROTECTED]> wrote:
> On Sat, Feb 11, 2006 at 07:00:57PM +0200, Teemu Ikonen wrote:
> > rpc.mountd creates a file called rmtab to /var/lib/nfs which is the standard
> > place for the NFS state files. For rpc.statd, the state directory can be
> > changed by the -P option. However, the mountd man page says:
> >
> > -P     Ignored (compatibility with unfsd??).
> >
> > So it would seem that the state directory can't be changed at all.
>
> In 1.0.7-1, it no longer seems to do (it uses files in /proc instead).
> However, why is this a problem? /var should be writable at any point anyhow.
> Could you please elaborate on the actual problem here, and if 1.0.7-1 fixes
> it for you, please close it?

In HA-NFS setups (see: http://linux-ha.org/HaNFS) changing the NFS
state directory to a shared disk is useful (almost mandatory, even).
Of course, usually this disk is not mounted on /var. Easy solution to
this problem is to symlink /var/lib/nfs to a directory on the shared
disk, but it would be nice (sort of) to be able to define the state
directory in the configuration.

I can't test the 1.0.7 version on my production system, but if statd
really obeys the -P parameter for this version, then the documentation
should be fixed and the bug closed.

Regards,

Teemu

Reply via email to