[Top] [All Lists]

RE: "exportfs -a" -> stale NFS filehandle

To: "Ralf Baechle" <>
Subject: RE: "exportfs -a" -> stale NFS filehandle
From: "Kaz Kylheku" <>
Date: Thu, 15 Nov 2007 12:15:39 -0800
Cc: <>
In-reply-to: <>
Original-recipient: rfc822;
Thread-index: AcgnwCCtCdy5qIVVTMaI/zfLoW8HSAAAB8Cw
Thread-topic: "exportfs -a" -> stale NFS filehandle
Ralf Baechle wrote:
> On Thu, Nov 15, 2007 at 11:26:06AM -0800, Kaz Kylheku wrote:
>> After backing out the nfsutils patch, the diskless node does boot.
>> However, the original "exportfs -a" problem comes back!
>> So this problem is not resolved simply by using the correct compat
>> routine; it's deeper. 
>> Sigh.
> Thanks for testing anyway!

I'm continuing to dig into the problem.

The export logic doesn't even go through nfsctl() anyway, which is why I
originally hadn't even suspected that syscall.

The nfsexport() function in nfsutils first tries opening
"/proc/net/rpc/nfsd.fh./channel". If that works, it uses that, via a
text-based protocol. Only if that interface doesn't exist does it fall
back on the nfsctl(NFSCTL_EXPORT, ...) interface.

<Prev in Thread] Current Thread [Next in Thread>