Go Back   The macosxhints Forums > OS X Help Requests > OS X Server



Reply
 
Thread Tools Rate Thread Display Modes
Old 12-10-2008, 08:05 AM   #1
MacProject
Prospect
 
Join Date: Dec 2008
Location: The Netherlands
Posts: 5
Unhappy Disk Quota Problems (help required)

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
MacProject is offline   Reply With Quote
Old 12-10-2008, 11:11 AM   #2
tlarkin
League Commissioner
 
Join Date: Mar 2003
Location: Kansas City
Posts: 9,629
I have seen this behavior as well, how are you enforcing the quota, by a user level policy in WGM?
__________________
http://www.tlarkin.com (it is under construction)
tlarkin is offline   Reply With Quote
Old 12-11-2008, 04:27 AM   #3
MacProject
Prospect
 
Join Date: Dec 2008
Location: The Netherlands
Posts: 5
We are forcing it with WGM, tried creating new users but they wont pick it up either.

thanx for looking into our prob
MacProject is offline   Reply With Quote
Old 12-11-2008, 05:28 AM   #4
MacProject
Prospect
 
Join Date: Dec 2008
Location: The Netherlands
Posts: 5
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.
MacProject is offline   Reply With Quote
Old 12-11-2008, 10:34 AM   #5
tlarkin
League Commissioner
 
Join Date: Mar 2003
Location: Kansas City
Posts: 9,629
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.
__________________
http://www.tlarkin.com (it is under construction)
tlarkin is offline   Reply With Quote
Old 12-11-2008, 03:30 PM   #6
dazepster
Prospect
 
Join Date: Dec 2008
Posts: 2
Quota with WM

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
dazepster is offline   Reply With Quote
Old 12-11-2008, 04:52 PM   #7
MacProject
Prospect
 
Join Date: Dec 2008
Location: The Netherlands
Posts: 5
Quote:
Originally Posted by tlarkin
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.
MacProject is offline   Reply With Quote
Old 12-11-2008, 05:07 PM   #8
tlarkin
League Commissioner
 
Join Date: Mar 2003
Location: Kansas City
Posts: 9,629
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
Attached Thumbnails
Click image for larger version

Name:	Picture 3.jpg
Views:	71
Size:	85.5 KB
ID:	3021  
__________________
http://www.tlarkin.com (it is under construction)
tlarkin is offline   Reply With Quote
Old 12-12-2008, 11:40 AM   #9
MacProject
Prospect
 
Join Date: Dec 2008
Location: The Netherlands
Posts: 5
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.
MacProject is offline   Reply With Quote
Old 12-12-2008, 01:07 PM   #10
tlarkin
League Commissioner
 
Join Date: Mar 2003
Location: Kansas City
Posts: 9,629
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.
__________________
http://www.tlarkin.com (it is under construction)
tlarkin is offline   Reply With Quote
Old 12-12-2008, 04:53 PM   #11
syntaxcollector
Triple-A Player
 
Join Date: Jul 2008
Location: Vancouver
Posts: 63
Quote:
Originally Posted by tlarkin

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?
syntaxcollector is offline   Reply With Quote
Old 12-12-2008, 05:01 PM   #12
tlarkin
League Commissioner
 
Join Date: Mar 2003
Location: Kansas City
Posts: 9,629
Quote:
Originally Posted by syntaxcollector
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
__________________
http://www.tlarkin.com (it is under construction)
tlarkin is offline   Reply With Quote
Old 12-15-2008, 05:08 AM   #13
MacProject
Prospect
 
Join Date: Dec 2008
Location: The Netherlands
Posts: 5
Talking

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.
MacProject is offline   Reply With Quote
Old 12-15-2008, 09:59 AM   #14
tlarkin
League Commissioner
 
Join Date: Mar 2003
Location: Kansas City
Posts: 9,629
Quote:
Originally Posted by MacProject
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.
__________________
http://www.tlarkin.com (it is under construction)
tlarkin is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:15 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Site design © Mac Publishing LLC; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of Mac Publishing LLC.