* How do you get /proc/fs/nfs/exports to populate?
@ 2015-12-26 11:59 dE
2015-12-28 9:41 ` dE
0 siblings, 1 reply; 4+ messages in thread
From: dE @ 2015-12-26 11:59 UTC (permalink / raw)
To: linux-nfs
Hi!
I'm running nfs-utils without init script or systemd unit assistance.
Since I'm using nfsv4, I'm eliminating the need to start mountd.
Now if mountd is gone, who populates /proc/fs/nfs/exports?
But even after running mountd (after an exportfs -a), this file still
does not have any entries.
Running rpc.nfsd with --
rpc.nfsd -d --syslog --port 10000
rpc.mountd runs without any arguments.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How do you get /proc/fs/nfs/exports to populate?
2015-12-26 11:59 How do you get /proc/fs/nfs/exports to populate? dE
@ 2015-12-28 9:41 ` dE
2015-12-28 15:21 ` Jeff Layton
0 siblings, 1 reply; 4+ messages in thread
From: dE @ 2015-12-28 9:41 UTC (permalink / raw)
To: linux-nfs
Ok, got it.
It happens that those are made after a mount request.
On 12/26/15 17:29, dE wrote:
> Hi!
> I'm running nfs-utils without init script or systemd unit assistance.
>
> Since I'm using nfsv4, I'm eliminating the need to start mountd.
>
> Now if mountd is gone, who populates /proc/fs/nfs/exports?
>
> But even after running mountd (after an exportfs -a), this file still
> does not have any entries.
>
> Running rpc.nfsd with --
>
> rpc.nfsd -d --syslog --port 10000
>
> rpc.mountd runs without any arguments.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How do you get /proc/fs/nfs/exports to populate?
2015-12-28 9:41 ` dE
@ 2015-12-28 15:21 ` Jeff Layton
2015-12-29 3:17 ` dE
0 siblings, 1 reply; 4+ messages in thread
From: Jeff Layton @ 2015-12-28 15:21 UTC (permalink / raw)
To: dE; +Cc: linux-nfs
On Mon, 28 Dec 2015 15:11:03 +0530
dE <de.techno@gmail.com> wrote:
> Ok, got it.
>
> It happens that those are made after a mount request.
>
Well, there is no such thing as a mount request, per-se in NFSv4. What
happens is that you try to walk down to the point where you're mounting
and access that inode, and nfsd upcalls to mountd to see whether that's
allowed. That populates the cache.
You can't really run nfsd without mountd (or something equivalent)
since something needs to populate the exports table. If you're running
a v4-only server though, then mountd doesn't need to be network-facing
however.
> On 12/26/15 17:29, dE wrote:
> > Hi!
> > I'm running nfs-utils without init script or systemd unit assistance.
> >
> > Since I'm using nfsv4, I'm eliminating the need to start mountd.
> >
> > Now if mountd is gone, who populates /proc/fs/nfs/exports?
> >
> > But even after running mountd (after an exportfs -a), this file still
> > does not have any entries.
> >
> > Running rpc.nfsd with --
> >
> > rpc.nfsd -d --syslog --port 10000
> >
> > rpc.mountd runs without any arguments.
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Jeff Layton <jlayton@poochiereds.net>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How do you get /proc/fs/nfs/exports to populate?
2015-12-28 15:21 ` Jeff Layton
@ 2015-12-29 3:17 ` dE
0 siblings, 0 replies; 4+ messages in thread
From: dE @ 2015-12-29 3:17 UTC (permalink / raw)
To: linux-nfs
Thanks for clearing that up. Explains the erratic behavior without mountd.
On 12/28/15 20:51, Jeff Layton wrote:
> On Mon, 28 Dec 2015 15:11:03 +0530
> dE <de.techno@gmail.com> wrote:
>
>> Ok, got it.
>>
>> It happens that those are made after a mount request.
>>
> Well, there is no such thing as a mount request, per-se in NFSv4. What
> happens is that you try to walk down to the point where you're mounting
> and access that inode, and nfsd upcalls to mountd to see whether that's
> allowed. That populates the cache.
>
> You can't really run nfsd without mountd (or something equivalent)
> since something needs to populate the exports table. If you're running
> a v4-only server though, then mountd doesn't need to be network-facing
> however.
>
>> On 12/26/15 17:29, dE wrote:
>>> Hi!
>>> I'm running nfs-utils without init script or systemd unit assistance.
>>>
>>> Since I'm using nfsv4, I'm eliminating the need to start mountd.
>>>
>>> Now if mountd is gone, who populates /proc/fs/nfs/exports?
>>>
>>> But even after running mountd (after an exportfs -a), this file still
>>> does not have any entries.
>>>
>>> Running rpc.nfsd with --
>>>
>>> rpc.nfsd -d --syslog --port 10000
>>>
>>> rpc.mountd runs without any arguments.
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-12-29 3:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-26 11:59 How do you get /proc/fs/nfs/exports to populate? dE
2015-12-28 9:41 ` dE
2015-12-28 15:21 ` Jeff Layton
2015-12-29 3:17 ` dE
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).