[Samba] support for new zfs user/group quotas

Tom Lieuallen toml at engr.orst.edu
Thu Nov 19 17:46:03 MST 2009


Jeremy Allison wrote:
> On Wed, Nov 11, 2009 at 10:36:39AM -0800, Tom Lieuallen wrote:
>> Are there plans for supporting the user and group quotas that Solaris  
>> ZFS now supports as of Solaris 10 11/09?
>>
>> I'm testing with samba 3.3.7, compiled with '--with-quotas' that works  
>> with UFS quotas.  Windows clients see the overall ZFS file system usage  
>> and capacity, not the user's personal usage and space.  One can use  
>> 'quota -v' to check a user's zfs quota; the same command one uses for  
>> UFS quotas.  I highly suspect they just changed the quota command to  
>> support both and similar changes would be necessary to the quota support  
>> in samba.
>>
>> I also tried using the 'get quota command', but it's not working for me.  
>>  I wonder if it's because samba was compiled with '--with-quotas'.
>>
>> Any ideas?
> 
> What is the difference in the quota API for ZFS ? We need
> someone to donate quota supporting code for that API and I'll
> add it for 3.5.0.
> 
> Jeremy.

I have looked around for the ZFS API, but it appears like Sun hasn't 
released it; at least not into the wild.  Perhaps those in the 'Sun 
Developer' camp have access to such things.

If there is a defined relationship between Sun and samba, perhaps there 
is a contact that could put this on their todo list or pony up the 
needed information.

Meanwhile, I have submitted a request to Sun, but I wouldn't bet that 
would come of anything anytime soon.

thank you

Tom Lieuallen


More information about the samba mailing list