Bug 12758 - Solaris disk quotas fix
Solaris disk quotas fix
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: File services
All Solaris
: P5 normal
: ---
Assigned To: Samba QA Contact
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2017-04-26 21:43 UTC by Jura Sasek
Modified: 2017-05-09 10:08 UTC (History)
2 users (show)

See Also:

disk quota fix (1.44 KB, patch)
2017-04-26 21:43 UTC, Jura Sasek
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jura Sasek 2017-04-26 21:43:51 UTC
Created attachment 13176 [details]
disk quota fix

Code in Samba:source3/smbd/quotas.c need brush-up. Especially the nfs quotas are requested by the RPC call directly to remote "rquotad" running on the remote server. Such concept is simply weird for several reasons but the main reason is the code do not work anymore and return "0". Samba is using qouta as a "disk free" so this bug make all disks "full".

ZFS and Oracle HSM (aka. samfs) are not supported for quota.

I propose "less radical" patch which do not remove the code but switch it off from the compilation only. If Samba.org community will decide to remove this meister-stueck of code no one will cry for it I hope.