Does anyone know how to get quotas working in Samba? I have done everything
humanly possible, but it keeps reporting the whole drive space available and
not the quota limits I have set.
These are Windows workstations accessing the Samba server.
Printable View
Does anyone know how to get quotas working in Samba? I have done everything
humanly possible, but it keeps reporting the whole drive space available and
not the quota limits I have set.
These are Windows workstations accessing the Samba server.
On Tue, 20 Jan 2004 16:37:59 -0500, "Jesse Godsey"
<jgodsey@demmercorp.com> wrote:
[color=blue]
>Does anyone know how to get quotas working in Samba? I have done everything
>humanly possible, but it keeps reporting the whole drive space available and
>not the quota limits I have set.
>
>These are Windows workstations accessing the Samba server.
>[/color]
you may want to check
[url]http://lists.lugod.org/pipermail/vox-tech/2002-September/003303.html[/url]
for a guideline
an "howto" to install quotas .. I did not try it out yet but it seems
quite more "work" than expected :-)
I have already done all the suggested in this article. That is not the
problem, the problem is the quota is working, but the Windows workstations
through Samba are seeing the full drive size and not the quota sizes I have
set.
Thanks anyway though.
"imbsysop" <imbsysop@yahoo.com> wrote in message
news:sfds00l5qtq7mvmrmonjbr8f3snsklefkp@4ax.com...[color=blue]
> On Tue, 20 Jan 2004 16:37:59 -0500, "Jesse Godsey"
> <jgodsey@demmercorp.com> wrote:
>[color=green]
> >Does anyone know how to get quotas working in Samba? I have done[/color][/color]
everything[color=blue][color=green]
> >humanly possible, but it keeps reporting the whole drive space available[/color][/color]
and[color=blue][color=green]
> >not the quota limits I have set.
> >
> >These are Windows workstations accessing the Samba server.
> >[/color]
>
> you may want to check
>
> [url]http://lists.lugod.org/pipermail/vox-tech/2002-September/003303.html[/url]
>
> for a guideline
>
> an "howto" to install quotas .. I did not try it out yet but it seems
> quite more "work" than expected :-)
>[/color]
On Wed, 21 Jan 2004 07:30:55 -0500, "Jesse Godsey"
<jgodsey@demmercorp.com> wrote:
[color=blue]
>I have already done all the suggested in this article. That is not the
>problem, the problem is the quota is working, but the Windows workstations
>through Samba are seeing the full drive size and not the quota sizes I have
>set.
>[/color]
I think you will not see the quota set but you will probably be warned
if/when any user exceeds the limits set ... just MHO
Well if thats the case, what good is quota??? I mean come one, we should be
able to see what is left and have it report correctly to the workstations.
Also, will it then let you exceed your limits if what you are saying is
true? I mean the hard limits.
Thanks.
The tone of the message is not directed at you, but geese.
"imbsysop" <imbsysop@yahoo.com> wrote in message
news:umts00h97d81qt72ui30gv0drhh8hitips@4ax.com...[color=blue]
> On Wed, 21 Jan 2004 07:30:55 -0500, "Jesse Godsey"
> <jgodsey@demmercorp.com> wrote:
>[color=green]
> >I have already done all the suggested in this article. That is not the
> >problem, the problem is the quota is working, but the Windows[/color][/color]
workstations[color=blue][color=green]
> >through Samba are seeing the full drive size and not the quota sizes I[/color][/color]
have[color=blue][color=green]
> >set.
> >[/color]
>
> I think you will not see the quota set but you will probably be warned
> if/when any user exceeds the limits set ... just MHO
>[/color]
On Wed, 21 Jan 2004 09:16:36 -0500, "Jesse Godsey"
<jgodsey@demmercorp.com> wrote:
[color=blue]
>Well if thats the case, what good is quota??? I mean come one, we should be
>able to see what is left and have it report correctly to the workstations.
>Also, will it then let you exceed your limits if what you are saying is
>true? I mean the hard limits.
>[/color]
I dunno for sure but I've read the linux man pages and from what I
remember the system issues warnings when near quota limit and I think
locks access if x% over? quota ...
"Jesse Godsey" <jgodsey@demmercorp.com> wrote in message
news:XOSdnWmIEskSFJPdRVn-hQ@shutter.net...[color=blue]
> Well if thats the case, what good is quota??? I mean come one, we should[/color]
be[color=blue]
> able to see what is left and have it report correctly to the workstations.
> Also, will it then let you exceed your limits if what you are saying is
> true? I mean the hard limits.[/color]
Quota is quota, disk space left is disk space left.
Two different things...
It would be nice to have disk space left for each user I guess,
but this would be too much work for the samba server I assume.
Each time a client wants disk space left, the server would have
to find the size of all the files in the current share,
subtract the total from the quota number and then return free
space to the client... _for each request_
This could be made faster with some crazy caching in the
server, but it would still be very hard to maintain in a
consistent state.
Roald
This is already being tracked by quota, so I am not sure where you are
coming from. All samba has to do is report what quota is already tacking.
If you read about quota and samba you will see that your comments are
unfounded.
"Roald Ribe" <rr.no@spam.teikom.no> wrote in message
news:400e9e0e$1@news.broadpark.no...[color=blue]
>
> "Jesse Godsey" <jgodsey@demmercorp.com> wrote in message
> news:XOSdnWmIEskSFJPdRVn-hQ@shutter.net...[color=green]
> > Well if thats the case, what good is quota??? I mean come one, we[/color][/color]
should[color=blue]
> be[color=green]
> > able to see what is left and have it report correctly to the[/color][/color]
workstations.[color=blue][color=green]
> > Also, will it then let you exceed your limits if what you are saying is
> > true? I mean the hard limits.[/color]
>
> Quota is quota, disk space left is disk space left.
> Two different things...
>
> It would be nice to have disk space left for each user I guess,
> but this would be too much work for the samba server I assume.
> Each time a client wants disk space left, the server would have
> to find the size of all the files in the current share,
> subtract the total from the quota number and then return free
> space to the client... _for each request_
>
> This could be made faster with some crazy caching in the
> server, but it would still be very hard to maintain in a
> consistent state.
>
> Roald
>
>
>
>[/color]