Re: [Samba] Quota problem (soft=hardlimit?)

2002-10-12 Thread Andrew Bartlett
Peter Griessl wrote:
> 
> > > 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.
> > >
> 
> >
> > 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
> >
> 
> Thanks for your message,
> meanwhile I did some testing:
> 
> - copying files on the server only (as you suggested) works fine: softlimit,
>   grace period, hard limit work as expected
> - copying files via the Windows 2000 Explorer on network disks works also:
>   softlimit, grace period, hard limit work as expected
> - the problem shows up *only* during logout when the user's profiles are
>   written back to the server
> 
> strange

Now what we need to know is how Win2k deals with this.  They have quotas
too, and I think they have soft/hard limits as well.  It would be
interesting to see if they have the same problem.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Quota problem (soft=hardlimit?)

2002-10-12 Thread Peter Griessl

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

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


Thanks for your message,
meanwhile I did some testing:

- copying files on the server only (as you suggested) works fine: softlimit, 
  grace period, hard limit work as expected
- copying files via the Windows 2000 Explorer on network disks works also:
  softlimit, grace period, hard limit work as expected
- the problem shows up *only* during logout when the user's profiles are
  written back to the server

strange

Peter Griessl ([EMAIL PROTECTED])


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Quota problem (soft=hardlimit?)

2002-10-11 Thread Andrew Bartlett
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 [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba