View Full Version : Disk Quota Problems (help required)
MacProject
12-10-2008, 08:05 AM
This is my first post on this forum (me and my m8 here ended up on the forum several times trying to fix problems most of em workt out)
But now we are working on disk quotas and this wont work.
We set up a 1 GB Disk Quota in de Open Directory and turned Disk Quota on the targeted Hard Disk on. But the users ignore the 1GB quota, even if you make a new user.
We are using OSX Leopard 10.5.5
tlarkin
12-10-2008, 11:11 AM
I have seen this behavior as well, how are you enforcing the quota, by a user level policy in WGM?
MacProject
12-11-2008, 04:27 AM
We are forcing it with WGM, tried creating new users but they wont pick it up either.
thanx for looking into our prob :)
MacProject
12-11-2008, 05:28 AM
We have set the Quota up via Work Group Manager.
We enforced it by clicking on the user, then on the Home tab, input the quota at the rightbottom, then Save.
We also try'd to:
Create A New User
Clicked on Create Home Now
Made sure that we had the correct Write & Read permissions on the disk
We don't know what you mean with 'user level policy', we are try'd lookup this term but so far no succes, could you please explain? Thanks in advance.
tlarkin
12-11-2008, 10:34 AM
Sorry for the confusion, there are basically three levels of policies with WGM you can set up. They are tiered as well, so some will over write others. This is the basics of how you set it up:
1) Nested groups - a group of groups which you apply all group policy to.
2) Individual group policy will apply to every user in that group and over write whatever the nested group policy is set to.
3) User level policy only applies to that one specific user and it over writes all other policies.
Disk quotas are a user level policy, and they don't work for me either. My work around was in WGM only sync a user's ~/Documents folder and ignore everything else, then I have a script that runs on the servers which houses the AFP homes will will find and delete any music or movies.
We give our users a 200MB limit on documents and I have users that have 3Gi home directories. If I look them up in WGM, the disk quota is set.
You can also turn on inspector and inspect the raw data of each user in the BSD database and there you can see the value of their home directory disk quota in like bytes or something to that affect. You may want to modify that value manually and see if it makes a difference.
dazepster
12-11-2008, 03:30 PM
Just a hint...in case... Are quota's activated on the share? IF yes, then no idea.
WM / Sharing / Share_volume / Enable Disk Quota's on this Volume
(But you must have done this already)
Andre
MacProject
12-11-2008, 04:52 PM
My work around was in WGM only sync a user's ~/Documents folder and ignore everything else
I think I understand, but how can you change the option of what they can or can't sync?
Also when we create a new user, default folders like ~/Documents are missing. Could you help us with that too? Because you seem to have it. Again thank you for your time.
tlarkin
12-11-2008, 05:07 PM
In WGM select the group you wish to manage and then click on preferences. Next select the mobility icon and then once that pane loads click on the rules tab. From there you can set the sync options controlled by MCX.
Attached is a screen shot
MacProject
12-12-2008, 11:40 AM
It was partially working, but the given quota still didn't apply.
After messing around with the Mobility>Sync Options preferences, the user couldn't login at all.
We re-installed Open Directory to retry.
When re-configuring the Open Directory, we set up a User Quota at the Home tab again(without doing anything with the Mobility preference).
Then we looked at the Server Admin > File Sharing > Selected the HDD > Quota Tab, showing us that the configured users DID had a Quota Limit.
Sad part is that we didn't had enough time to test it. (the teachers sent us out because the school was closing :P)
I will post the results Monday, thank you.
tlarkin
12-12-2008, 01:07 PM
I know how that feels, as I work for a school system. I have had the Janitors kick me out at night because they wanted to leave and lock up and I was still working...
yes, you also need to enable quotas on the share point in Server Admin, that I did forget to mention. Let us know if it pans out.
syntaxcollector
12-12-2008, 04:53 PM
1) Nested groups - a group of groups which you apply all group policy to.
tlarkin: question for you, wondering if you knew how to get non-macintosh clients and server respect LDAP nested groups...
ie: MacOSX server with nested groups providing LDAP for a Linux NFS server with Linux NFS clients connecting. How would we get to linux machines to resolve the nested groups?
tlarkin
12-12-2008, 05:01 PM
tlarkin: question for you, wondering if you knew how to get non-macintosh clients and server respect LDAP nested groups...
ie: MacOSX server with nested groups providing LDAP for a Linux NFS server with Linux NFS clients connecting. How would we get to linux machines to resolve the nested groups?
I am not sure if that is even possible besides authentication and home directory mapping. I don' think a Mac server can give a Linux client group policy, is that what you are asking? If not I appollogize for not fully understanding your question.
Thanks
tom
MacProject
12-15-2008, 05:08 AM
It works, without using the Mobility preference.
We reinstalled Open Directory, now the Disk Quota apply's correctly. So before you install Open Directory, you should enable Disk Quota in File Sharing. Then it works.
tlarkin
12-15-2008, 09:59 AM
It works, without using the Mobility preference.
We reinstalled Open Directory, now the Disk Quota apply's correctly. So before you install Open Directory, you should enable Disk Quota in File Sharing. Then it works.
That sounds like a pretty broken method of getting disk quotas to work. No one wants to rebuild the entire LDAP to get one feature that should work otherwise, to work.
I hope Apple fixes this.
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.