Home - News - Products - Downloads - Manuals - Forum - (trial) License - PriceList - Disclaimer - About
Joomlaboard-Forum  


<< Start < Prev 1 2 Next > End >>
RooT
User

Junior Boarder
Posts: 8
graphgraph
Karma: 0  
User/DirSpace: Value as a step - 2005/09/23 15:44 Hi Hans,

one more suggestion:

Could you make an option in MassUser that the value entered for the User/DirSpace is the 'step size' with how much the space should be increased step-by-step, until the user has some fre space?

E.g. When I will in 102400 KB (100 M, then a user with 70 MB of data will get a 100 MB restriction, a user with 125 MB will get a 200 MB restriction, a user with 193 MB of data will also get a 200 MB restriction, etc.

I now use the 'Value is minumum free space', but this gives every user a different limitation (with above examples the users would get 170 MB, 225 MB and 293 M. This gives a very nasty list of all kind of limitations. When I could set it with increments of 100 MB, then things would look much nicer.

Thanks,
Ruben
  | | The administrator has disabled public write access.
admin
Admin

Admin
Posts: 317
graph
Karma: 0  
Re:User/DirSpace: Value as a step - 2005/09/26 22:50 I will add this too.

Hans
Hans Boone
  | | The administrator has disabled public write access.
admin
Admin

Admin
Posts: 317
graph
Karma: 0  
Re:User/DirSpace: Value as a step - 2005/10/02 23:02 In version 3.04.08 this is implemented. Hans Boone
  | | The administrator has disabled public write access.
RooT
User

Junior Boarder
Posts: 8
graphgraph
Karma: 0  
Re:User/DirSpace: Value as a step - 2005/10/03 00:18 Hi Hans,

I tried one, but it failed:

I have a user with 135 MB of data on his home-directory. No directory space restriction has been set yet.

Now I use massUser 3.04.08 to set it by increments of 100 MB (102400 K. When I do this, it will set the restriction to 100 MB instead of the expected 200 MB.

Besides this, I think the text with the option isn't too obvious. You say 'Set the restriction to a multiple of value ...' (this is correct) and then '...where value is a minimum free space'. This last part is not the case. The free space that is left after setting the restriction to a multiple of the entered value, can actually vary (at least that is how I intended it). So the text should be something like 'Set the restriction to a multiple of value, until there is some free space left'.
  | | The administrator has disabled public write access.
admin
Visitor
 
Re:User/DirSpace: Value as a step - 2005/10/03 20:29 Hi,

Oops disign error.
If there is no quota is set, I will set the "value" as the quota limit, without testing for the in-use count.

Testing for in use count is a problem:
Under NW6.5 the function for setting the directory quota is not immediate. The Netware server queues the new requests for quota-limit if there is not quota limit set. (to prevent server crashes!)
As soon as the quota limit is set, you can find the "inuse" (and free) space directly.
Because this queing of the the setquota, I can't find the inuse or free space at that moment of setting, so I can decide how big the limit must be.
I can do calculate the inuse with a dirtree search, but that will slowdown the program.
Or you have to run the program twice with enough time between the runs.

This problem is also there for the other options if no quota is set.

I think I will add the tree search option.

--------

I will change the rountine and the text.
At the moment:
Suppose the "quota" limits are n*100Mb and someone has 88Mb the new limit will be 200Mb now.

I understand you want to set the quota to 100Mb.
I think you need some extra option then, because the limit will only be updated if you have exactly n*100Mb or more in use. I think you need some marge like 5Mb.

e.g.
0..95Mb -> 100Mb limit
95-195Mb -> 200Mb
etc.

Hans
  | | The administrator has disabled public write access.
RooT
Visitor
 
Re:User/DirSpace: Value as a step - 2005/10/04 12:26 Hi Hans,

OK, is the same true for UserSPace or does that use a different method of the 'In Use' calculation?

I think it is a good idea to be able to specify a margin. Indeed, as I intended it to work, then it would be as follows:

10 MB in Use --> 100 MB restriction
85 MB in Use --> 100 MB restriction
99 MB in Use --> 100 MB restriction
101 MB in Use --> 200 MB restriction

But when it would be possible to specify a margin of, say, 10 MB, then the same 'In Use' numbers would result in:

10 MB in Use --> 100 MB restriction
85 MB in USe --> 100 MB restriction
99 MB in Use --> 200 MB restriction
101 MB in Use --> 200 MB restriction

Actually, the 'margin' is more like a 'Minimum free space' after having set the restriction to n*100MB.

If I may be so bold to suggest this, maybe you should rearrange the options as follows:

[ ] Set directory quotas
Value [ ] KB
O Always set quota
O Only set when no quota has been set
O Only set when a quota is already in place

[ ] Do not set when user already has more

Set quotas as follows:

O Fixed value
O Add value to quota
with max [ ] KB
O Value is free space
O Set quota to a multiple of value
with min [ ] KB free space


So, as you said, the last two options might take some more time because of the 'Space in Use' calculation.

I hope you can do something with this information.

Thanks again,
Ruben
  | | The administrator has disabled public write access.
<< Start < Prev 1 2 Next > End >>
Page created in: 0.23 seconds - © Copyright 2002-2008 HBware.com