I tried this setup again, using NFS 4.2, security=sys, and enabled quota debugging on the samba server (log level = quota:3). Got something interesting:
With quotarpc enabled on the nfs server (reproducing the bug: df shows 100% usage) ==> /var/log/samba/log.q-cifs <== [2025/05/20 17:39:27.956109, 3] source3/lib/sysquotas_nfs.c:139(sys_get_nfs_quota) sys_get_nfs_quota: got unsupported quota type '1', only supported type is '2' (SMB_USER_QUOTA_TYPE) [2025/05/20 17:39:27.956246, 3] source3/lib/sysquotas.c:519(sys_get_quota) sys_get_nfs4_quota() failed for mntpath[/mnt/from-nfs] bdev[10.10.17.230:/export/data] qtype[1] id[-1]: Function not implemented. With quotarpc disabled: [2025/05/20 17:43:22.592787, 3] source3/lib/sysquotas_nfs.c:139(sys_get_nfs_quota) sys_get_nfs_quota: got unsupported quota type '1', only supported type is '2' (SMB_USER_QUOTA_TYPE) [2025/05/20 17:43:22.592852, 3] source3/lib/sysquotas.c:519(sys_get_quota) sys_get_nfs4_quota() failed for mntpath[/mnt/from-nfs] bdev[10.10.17.230:/export/data] qtype[1] id[-1]: Function not implemented. [2025/05/20 17:43:22.594259, 3] source3/lib/sysquotas.c:519(sys_get_quota) sys_get_nfs4_quota() failed for mntpath[/mnt/from-nfs] bdev[10.10.17.230:/export/data] qtype[2] id[1000]: Success. [2025/05/20 17:43:22.594433, 3] source3/lib/sysquotas_nfs.c:139(sys_get_nfs_quota) sys_get_nfs_quota: got unsupported quota type '3', only supported type is '2' (SMB_USER_QUOTA_TYPE) [2025/05/20 17:43:22.594446, 3] source3/lib/sysquotas.c:519(sys_get_quota) sys_get_nfs4_quota() failed for mntpath[/mnt/from-nfs] bdev[10.10.17.230:/export/data] qtype[3] id[-1]: Function not implemented. [2025/05/20 17:43:22.594534, 3] source3/lib/sysquotas_nfs.c:139(sys_get_nfs_quota) sys_get_nfs_quota: got unsupported quota type '4', only supported type is '2' (SMB_USER_QUOTA_TYPE) [2025/05/20 17:43:22.594545, 3] source3/lib/sysquotas.c:519(sys_get_quota) sys_get_nfs4_quota() failed for mntpath[/mnt/from-nfs] bdev[10.10.17.230:/export/data] qtype[4] id[1000]: Function not implemented. Could this be related to native ext4 quota, versus "old-style" quotas? I'm unsure, but that distinction came to mind while I was setting this up. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2077725 Title: CIFS client reports 100% disk usage when rpc-quotad is started To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/2077725/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
