Current-Users archive

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

Re: nfs client and quota



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 <bouyer%antioche.eu.org@localhost>
To: 6bone%6bone.informatik.uni-leipzig.de@localhost
Cc: current-users%netbsd.org@localhost
Subject: Re: nfs client and quota

On Tue, Jan 19, 2016 at 09:13:54AM +0100, 6bone%6bone.informatik.uni-leipzig.de@localhost 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 <bouyer%antioche.eu.org@localhost>
    NetBSD: 26 ans d'experience feront toujours la difference
--



Home | Main Index | Thread Index | Old Index