To save this here, with debug 10, and quotarpc STOPPED, I get:
==> /var/log/samba/log.q-cifs <==
[2025/05/20 17:57:19.417440, 10, pid=5360, effective(1000, 1000), real(1000, 
0), class=quota] source3/lib/sysquotas.c:513(sys_get_quota)
  sys_get_quota() uid(1000, 1000), fs(nfs4)
[2025/05/20 17:57:19.417586, 10, pid=5360, effective(1000, 1000), real(1000, 
0), class=quota] source3/lib/sysquotas_nfs.c:131(sys_get_nfs_quota)
  sys_get_nfs_quota: path[/mnt/from-nfs] bdev[10.10.17.230:/export/data] 
qtype[1]
[2025/05/20 17:57:19.417608,  3, pid=5360, effective(1000, 1000), real(1000, 
0), class=quota] 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:57:19.417644,  3, pid=5360, effective(1000, 1000), real(1000, 
0), class=quota] 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:57:19.417871, 10, pid=5360, effective(1000, 1000), real(1000, 
0), class=quota] source3/lib/sysquotas.c:513(sys_get_quota)
  sys_get_quota() uid(1000, 1000), fs(nfs4)
[2025/05/20 17:57:19.417892, 10, pid=5360, effective(1000, 1000), real(1000, 
0), class=quota] source3/lib/sysquotas_nfs.c:131(sys_get_nfs_quota)
  sys_get_nfs_quota: path[/mnt/from-nfs] bdev[10.10.17.230:/export/data] 
qtype[2]
[2025/05/20 17:57:19.417906, 10, pid=5360, effective(1000, 1000), real(1000, 
0), class=quota] source3/lib/sysquotas_nfs.c:165(sys_get_nfs_quota)
  sys_get_nfs_quotas: Asking for quota of path '10.10.17.230' on host 
'export/data', rpcprog '100011', rpcvers '1', network 'udp'
[2025/05/20 17:57:19.419835, 10, pid=5360, effective(1000, 1000), real(1000, 
0), class=quota] source3/lib/sysquotas_nfs.c:285(sys_get_nfs_quota)
  sys_get_nfs_quotas: finished
[2025/05/20 17:57:19.420174,  3, pid=5360, effective(1000, 1000), real(1000, 
0), class=quota] 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:57:19.420431, 10, pid=5360, effective(1000, 1000), real(1000, 
0), class=quota] source3/lib/sysquotas.c:513(sys_get_quota)
  sys_get_quota() uid(1000, 1000), fs(nfs4)
[2025/05/20 17:57:19.420451, 10, pid=5360, effective(1000, 1000), real(1000, 
0), class=quota] source3/lib/sysquotas_nfs.c:131(sys_get_nfs_quota)
  sys_get_nfs_quota: path[/mnt/from-nfs] bdev[10.10.17.230:/export/data] 
qtype[3]
[2025/05/20 17:57:19.420460,  3, pid=5360, effective(1000, 1000), real(1000, 
0), class=quota] 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:57:19.420469,  3, pid=5360, effective(1000, 1000), real(1000, 
0), class=quota] 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:57:19.420575, 10, pid=5360, effective(1000, 1000), real(1000, 
0), class=quota] source3/lib/sysquotas.c:513(sys_get_quota)
  sys_get_quota() uid(1000, 1000), fs(nfs4)
[2025/05/20 17:57:19.420588, 10, pid=5360, effective(1000, 1000), real(1000, 
0), class=quota] source3/lib/sysquotas_nfs.c:131(sys_get_nfs_quota)
  sys_get_nfs_quota: path[/mnt/from-nfs] bdev[10.10.17.230:/export/data] 
qtype[4]
[2025/05/20 17:57:19.420596,  3, pid=5360, effective(1000, 1000), real(1000, 
0), class=quota] 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:57:19.420604,  3, pid=5360, effective(1000, 1000), real(1000, 
0), class=quota] 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.



With quotarpc RUNNING (and thus showing the bug), the log 10 is:
[2025/05/20 18:00:00.035961, 10, pid=5360, effective(1000, 1000), real(1000, 
0), class=quota] source3/lib/sysquotas.c:513(sys_get_quota)
  sys_get_quota() uid(1000, 1000), fs(nfs4)
[2025/05/20 18:00:00.036092, 10, pid=5360, effective(1000, 1000), real(1000, 
0), class=quota] source3/lib/sysquotas_nfs.c:131(sys_get_nfs_quota)
  sys_get_nfs_quota: path[/mnt/from-nfs] bdev[10.10.17.230:/export/data] 
qtype[1]
[2025/05/20 18:00:00.036149,  3, pid=5360, effective(1000, 1000), real(1000, 
0), class=quota] 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 18:00:00.036169,  3, pid=5360, effective(1000, 1000), real(1000, 
0), class=quota] 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 18:00:00.036403, 10, pid=5360, effective(1000, 1000), real(1000, 
0), class=quota] source3/lib/sysquotas.c:513(sys_get_quota)
  sys_get_quota() uid(1000, 1000), fs(nfs4)
[2025/05/20 18:00:00.036430, 10, pid=5360, effective(1000, 1000), real(1000, 
0), class=quota] source3/lib/sysquotas_nfs.c:131(sys_get_nfs_quota)
  sys_get_nfs_quota: path[/mnt/from-nfs] bdev[10.10.17.230:/export/data] 
qtype[2]
[2025/05/20 18:00:00.036449, 10, pid=5360, effective(1000, 1000), real(1000, 
0), class=quota] source3/lib/sysquotas_nfs.c:165(sys_get_nfs_quota)
  sys_get_nfs_quotas: Asking for quota of path '10.10.17.230' on host 
'export/data', rpcprog '100011', rpcvers '1', network 'udp'
[2025/05/20 18:00:00.041560, 10, pid=5360, effective(1000, 1000), real(1000, 
0), class=quota] source3/lib/sysquotas_nfs.c:209(sys_get_nfs_quota)
  sys_get_nfs_quotas: getquota_rslt:
  status       : '1'
  bsize        : '1024'
  active       : 'yes'
  bhardlimit   : '5000'
  bsoftlimit   : '4000'
  curblocks    : '1024'
  fhardlimit   : '125312609'
  fsoftlimit   : '30077'
  curfiles     : '131072'
  btimeleft    : '0'
  ftimeleft    : '8'
[2025/05/20 18:00:00.041702, 10, pid=5360, effective(1000, 1000), real(1000, 
0), class=quota] source3/lib/sysquotas_nfs.c:242(sys_get_nfs_quota)
  sys_get_nfs_quotas: Good quota data
[2025/05/20 18:00:00.041730, 10, pid=5360, effective(1000, 1000), real(1000, 
0), class=quota] source3/lib/sysquotas_nfs.c:285(sys_get_nfs_quota)
  sys_get_nfs_quotas: finished
[2025/05/20 18:00:00.041742, 10, pid=5360, effective(1000, 1000), real(1000, 
0), class=quota] source3/lib/sysquotas.c:522(sys_get_quota)
  sys_get_nfs4_quota() called for mntpath[/mnt/from-nfs] 
bdev[10.10.17.230:/export/data] qtype[2] id[1000].


quota -v ubuntu shows:
root@q-nfs:~# quota -v ubuntu
Disk quotas for user ubuntu (uid 1000): 
     Filesystem  blocks   quota   limit   grace   files   quota   limit   grace
      /dev/sdb1    1024    4000    5000               2       0       0      

"blocks", "quota", and "limit" match what we see in the samba logs.

I still have no clue.

-- 
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

Reply via email to