Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 May 2013 14:08:26 +0200
From:      Bernt Hansson <bah@bananmonarki.se>
To:        Daniel Feenberg <feenberg@nber.org>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Restarting exports disturbs clients
Message-ID:  <5183A8BA.7040309@bananmonarki.se>
In-Reply-To: <alpine.LRH.2.03.1305021137480.32731@nber.org>
References:  <alpine.LRH.2.03.1305021137480.32731@nber.org>

next in thread | previous in thread | raw e-mail | index | archive | help
2013-05-03 12:49, Daniel Feenberg skrev:
>
> When we change the exportfs file on our FreeBSD 9.1 fileserver:
>
>    kill -HUP `cat /var/run/mountd.pid`

That seems a bit harsh, try /etc/rc.d/nfsd restart or
/etc/nfsserver restart.

> it kills the jobs on  clients that have files open on the fileserver.
> This is pretty inconvenient for users (and us). Is there a way around
> this? We have noticed that a Linux fileserver can restart nfs without
> distrubing clients (other than a short pause). The Linux restart
> doesn't restart the locking mechanism - is that the difference? We
> could do without locks, even without NFSv4, for that matter, if it
> would let us change exports without disturbing users. Perhaps there
> there is an NFS shutdown procedure that we should be using?
>
> Daniel Feenberg
> NBER



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5183A8BA.7040309>