AFP548 Changing the world one server at a time.

Setting Disk Quotas – edquota error

Home › Forums › OS X Server and Client Discussion › File Serving › Setting Disk Quotas – edquota error

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #362897
    golds
    Participant

    Hello

    I’m trying to set disk quotas on 10.4.2 Xserver RAID. I prepare the RAID by typing the following in Terminal:

    sudo touch /.quota.ops.user
    sudo touch /.quota.ops.group
    sudo quotacheck -a
    sudo quotaon

    Next, I test setting limits on a user by typing

    edquota -u username

    I set the block sizes correctly (I think) and get the following error message once I exit vi:

    /Volumes/XServer:RAID: 1k blocks in use 0, limits (soft = 0, hard =5000): bad format

    What am I doing wrong? Any ideas? Even if I edit a user and change nothing, I get the same error.

    Thanks in advance

    #362909
    Anonymous
    Guest

    Have you got any symbolic links on the boot volume that piont to the RAID?

    Have you got quotas enabled on the boot volume?

    Maybe this is what is confusing edquota.

    I’m very interested to know what is the problem here. I’ve been trying to get this working for a long time (AD users / OS X server home directories).

    questionsmac@yahoo.co.uk

    #362917
    golds
    Participant

    To questionsmac:

    -The only symbolic links from the boot volume are on the /automount link.

    -Also the The boot volume does not have quotas enabled.

    To macshome:

    What file would you like to see. The following files are blank:

    — .quotas.ops.user
    — .quotas.ops.groups

    The following files just show a hash file and a bunch of goobdy stuff. Binary.

    — .quota.ops
    — .quota.groups

    Below is the quota file for user golds. If I modify the soft or hard limits under blocks, it gives me a bad format error. If just open the file and close it, it gives me an error.

    uotas for user golds:
    /Volumes/Xserve RAID: 1K blocks in use: 0, limits (soft = 0, hard = 0)
    inodes in use: 1, limits (soft = 0, hard = 0)
    ~
    ~
    ~
    ~
    “/tmp/EdP.aaOGMV” 3L, 141C

    There is no /etc/fstab file for me to modify to to recognize quotas. I don’t even know if I need modify them. Are there any specific quota files you want me to send?

    Thanks in advance

    #363041
    golds
    Participant

    I believe I may have found the problem. I initially tried using Workgroup Manager to implement quotas, but found it lacking. Next I started using terminal. However there may be a conflict in trying to use both. So now, I’m trying to turn the quota feature off of Workgroup Manager and use terminal (UNIX).

    Any suggestions in cleaning up the conflicts (Deleting files, running permissions, etc)?

    #363081
    Anonymous
    Guest

    "edquota.c" does not manage correctly partition name with a space. After changing the partition name (from the Desktop , like changing a file name) to remove the space, the "bad format" message should disappear.

    fpamac@free.fr

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