[Samba] Quota problem (soft=hardlimit?)

Andrew Bartlett
Sat, 12 Oct 2002 00:34:01 -0000

Peter Grie?l wrote:
>
> Hello all,
>
> after upgrading from 2.2.3a to 2.2.5 we experience strange quota behaviour.
> When logging out from Windows 2000 and writing the user profiles back to
the
> server the user gets a "disk full" warning - below soft and
hardlimit.
>
> Tests showed that the warning comes up when
>
>         Userfiles + (2 * Profiles) > soft limit.
>
> In all our tests, the grace period and the hardlimit were never reached and
> are not the limiting factors.
>
> I read about Windows 2000 duplicating the profiles before writing back
> to the server, therefore (2 * Profiles). Ok, we can live with that.
> But treating the soft limit like hard limit is not fair, I think.
>
> The only thing changed on the server was the upgrade to Samba 2.2.5
> (RPM from ftp://ftp.suse.com/pub/people/lmuelle, we use SuSE 7.3).

Samba does not enforce quotas, only reports back what the OS tell us.
Try and do a similar operation on the server only, and see what
happens.  It might be that the 'space free' that Samba reports is
causing problems, as that is set to the soft quota.

Andrew Bartlett

--
Andrew Bartlett                                 abartlet@pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet@samba.org
Student Network Administrator, Hawker College   abartlet@hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net