Restarting exports disturbs clients
Mohan Ramanujan
mohan at nber.org
Fri May 3 17:16:06 UTC 2013
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 at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "freebsd-questions-unsubscribe at freebsd.org"
>>
>
More information about the freebsd-questions
mailing list