Home › Forums › OS X Server and Client Discussion › File Serving › Setting Disk Quotas – edquota error
- This topic has 4 replies, 1 voice, and was last updated 21 years, 2 months ago by
Anonymous.
-
AuthorPosts
-
August 23, 2005 at 11:40 pm #362897
golds
ParticipantHello
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 quotaonNext, 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
August 24, 2005 at 1:51 pm #362909Anonymous
GuestHave 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).
August 24, 2005 at 6:10 pm #362917golds
ParticipantTo 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.groupsThe following files just show a hash file and a bunch of goobdy stuff. Binary.
— .quota.ops
— .quota.groupsBelow 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, 141CThere 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
August 31, 2005 at 5:45 pm #363041golds
ParticipantI 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)?
September 2, 2005 at 8:00 am #363081Anonymous
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.
-
AuthorPosts
- You must be logged in to reply to this topic.