Restarting exports disturbs clients

Graham Allan allan at physics.umn.edu
Fri May 3 16:18:20 UTC 2013


On Fri, May 03, 2013 at 02:08:26PM +0200, Bernt Hansson wrote:
> 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.

Sending SIGHUP to mountd has always been the right way to have it reread
the exports file - should really be much less disruptive than restarting
the service.

Graham
-- 


More information about the freebsd-questions mailing list