tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: unmounting a NFS-exported file system



On Sat, Oct 19, 2013 at 09:21:13PM +0200, Hauke Fath wrote:
> On Sat, 19 Oct 2013 19:30:36 +0200, Manuel Bouyer wrote:
> > On Sat, Oct 19, 2013 at 05:56:02PM +0200, Edgar Fuß wrote:
> >> What would happen to NFS clients in case I stop nfsd, remove the partition 
> >> from /etc/exports and unmount it, then reload mountd and restart nfsd?
> > 
> > The clients tries to access the parition you removed from exports will
> > get a permission denied, or stale nfs file handle error.
> 
> ...from nfsd(8), I assume?

yes

> How does it learn about the content of 
> exports(5)?

from mountd. Mountd not only handle RPC requests, it also pass the export
list to the in-kernel nfsd.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index