[Samba] NFS quotas on Solaris 10

Christian Manal moenoel at informatik.uni-bremen.de
Fri Apr 27 00:56:41 MDT 2012

On 26.04.2012 22:08, Gaiseric Vandal wrote:
> I have one share on my samba server which is on top of an autofs mount
> point.  This is solaris 10 with bundled samba 3.5.10 and zfs.   It also
> shows 0 free space.  I had the same problem with samba 3.4.x compiled
> from source code.   I think this is just a fundamental Samba issue that
> you won't easily solve.
> Most Windows applications won't have an issue with this.  Adobe Acrobat
> will. 

Might be. But it wasn't an issue until the update. My Win7 clients can't
copy files onto shares anymore, since then. Error message says not
enough disk space.

I had to rebuild Samba without quota support as a workaround. Which now
makes it show wrong sizes for those who actually have a userquota.

I even tried cooking up my own 'get quota command', but that doesn't
seem to be used for NFS quotas.

Christian Manal

> On 04/26/12 10:24, Christian Manal wrote:
>> On 26.04.2012 16:07, Gaiseric Vandal wrote:
>>> Are these autofs mounts?
>>> Are the nfs v4 mounts -  I think Solaris 10 will automatically default
>>> to NFS v4 when mounting from another Solaris 10 server.  
>> Yes to both.
>>> Can you run "smbd -b" on the new and old version and see if the new
>>> build omits any crucial modules?
>> See attachments.
>> Regards,
>> Christian Manal
>>> On 04/26/12 06:07, Christian Manal wrote:
>>>> Hi list,
>>>> I'm running Samba 3.6.4 on Solaris 10 x86. Underlying filesystem is ZFS.
>>>> Since updating from 3.6.0, free space on NFS mounted ZFS filesystem,
>>>> without a userquota set for the user, is always reported zero. 'quota
>>>> -v' and the perl module 'Quota' both report no quota for such file systems.
>>>> (Un)setting (ref)quota for those filesystems doesn't change anything.
>>>> Any idea how to fix this behavior? A level 10 log of the quota stuff is
>>>> attached.
>>>> Regards,
>>>> Christian Manal

More information about the samba mailing list