dCache / nfs4j

Pure Java NFSv3 and NFSv4.2 implementation
Other
240 stars 76 forks source link

Implement rquota protocol #133

Closed kofemann closed 2 months ago

kofemann commented 6 months ago

Despite the fact that the NFS v4 protocol specifies attributes to query the quota (https://tools.ietf.org/html/rfc5661#section-5.8.2.28), the Linux client doesn’t implement it, as the quota is not associated with a user or a group.

To support classic user and group quotas, the rquota protocol can be implemented:

https://git.kernel.org/pub/scm/utils/quota/quota-tools.git/tree/rquota.x

QiulanHuang commented 5 months ago

Hello Tigran,

We have client complains the failure to get the quota from NFS v4 client with the following error. Is it related to the issue you described above?

quota: error while getting quota from chimerav4.usatlas.bnl.gov:/pnfs for user1 (id 101056): Connection refused
Disk quotas for user user1 (uid 101056): 

Any suggestions would be greatly appreciated.

Thanks, Qiulan

kofemann commented 5 months ago

Hi Qiulan,

As the issue is saying, the nfs4j, which is used by dCache is not supporting quota protocol.

QiulanHuang commented 5 months ago

Hi Tigran,

Thanks for your prompt reply.

I see. Now we use space tokens allocated for users and not quotas. Looking forward to the new enhanced feature from dCache.

Thanks, Qiulan