Home Forums OS X Server and Client Discussion File Serving newbie: how to set up disc quota for each user a volume

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #363203
    celerity
    Participant

    Hi,

    I’m trying to set up a 4.5 gb disc quota for each user on my servers 250 gb hd. Unfortunately, I have a very poor knowledge in this. So my question is, how do I set up a disc quota in an easy way? Is there any programs for that (I tryed webmin but it crashes all the time). Or how do I do it manually (easy, cause’ I’m a poor newbieSmile)? I’m planning to have round 50 users on my server that will backup their files by smb/afp.

    thanks in advance

    –celerity

    #363207
    mkalien
    Participant

    You need to enable quotas for the volume that stores your user data and then assign quotas to each of your users.

    To enable quotas for the volume, I find it easiest to use Workgroup Manager (WGM). Here are instructions taken from OSXS 10.4.2 but it should be very similar to previous versions:
    1. log in to your server as an administrator
    2. go to the “Sharing” section
    3. Click on “All” instead of “Share Points”
    4. Navigate to the root of your volume and click on it
    5. From the “General” tab on the right you should be able to select “Enable disk quotas on this volume” (don’t forget to save)

    To set your disk quotas for your users, go to the Accounts section of WGM. Select one or all of your users at once. Click on the “Home” tab, select a home directory location, add the disk quota value, and click save.

    I believe there’s some php code you can downlaod from this site that will display the quota files created by the terminal command: repquota.

    #363209
    celerity
    Participant

    I’m not running osxs (don’t laught but thats the only version I have) so unfortunately I don’t have that pref Frown I thougt more about how to make it by using the terminal and the config file (in fstab?).

    thanks

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Comments are closed