Where can I find the file getnfsquota.c?

"find /usr/src/ -name getnfsquota.c -type f" reports no result.


Regards
Uwe



On Tue, 19 Jan 2016, Manuel Bouyer wrote:

Date: Tue, 19 Jan 2016 09:29:34 +0100
From: Manuel Bouyer <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: nfs client and quota

On Tue, Jan 19, 2016 at 09:13:54AM +0100, [email protected] 
wrote:
[...]
    100024    1   udp   4046  status
    100024    1   tcp   4046  status
    100011    1   udp   4049  rquotad

Only version 1 rquotad; this may be the issue. The servers I tested all
support version 2.

I guess the problem is in src/lib/libquota/getnfsquota.c:getnfsquota()
If callaurpc() for EXT_RQUOTAVERS fails, it's supposed to try
RQUOTAVERS. Can you try to trace what happens here ?
Is the first callaurpc() call returning RPC_PROGVERSMISMATCH or something
else ? Is rpcqtype really RQUOTA_USRQUOTA ?
What is returning the second call ?

--
Manuel Bouyer <[email protected]>
    NetBSD: 26 ans d'experience feront toujours la difference
--

Reply via email to