Date: Fri, 3 May 2013 13:16:03 -0400 (EDT) From: Mohan Ramanujan <mohan@nber.org> To: Daniel Feenberg <feenberg@nber.org> Cc: Mohan Ramanujan <mohan@nber.org>, freebsd-questions@freebsd.org, Graham Allan <allan@physics.umn.edu> Subject: Re: Restarting exports disturbs clients Message-ID: <alpine.BSF.2.00.1305031311430.6439@mail2.nber.org> In-Reply-To: <alpine.LRH.2.03.1305031240100.29996@nber.org> References: <alpine.LRH.2.03.1305021137480.32731@nber.org> <5183A8BA.7040309@bananmonarki.se> <20130503161818.GK32659@physics.umn.edu> <alpine.LRH.2.03.1305031240100.29996@nber.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Actually, changes to /etc/exports under FreeBSD take effect when you either kill -HUP mountd.pid or /etc/rc.d/mountd reload|restart on the nfs server, but both disrupt existing mounted shares on the nfs client. What we are looking for is an equivalent of exportfs -r under Linux. Is that available under FreeBSD? Thanks. -- mohan ------------------------------------------------------ On Fri, 3 May 2013, Daniel Feenberg wrote: > > > On Fri, 3 May 2013, Graham Allan wrote: > >> 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. > > We have tried both and both disruptive NFS clients. > > dan feenberg > >> >> Graham >> -- >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1305031311430.6439>