pierskittel
Registered
Hello all,
Am administrating an OS X Panther server with a number of users, and there's a certain user using up a lot of disk space so have finally got my manager to agree to impose disk quotas, but I seem to be unable to. I open Workgroup Manager, click on Sharing, click on the volume named "Mac RAID" (it was named by someone else, not myself) and click on "Enable disk quotas on this volume" and clicked on Save. Then I went back to the Accounts area and clicked on my own non-admin username (to test) and set a disk quota of 1MB and clicked on save. Nothing happened. I logged out and logged back in. I was able to save data to the drive even tho I was about 350MB over quota. Then I opened Server Admin, clicked on the server and clicked on "System", then on "Quotas" and checked out my own account:
edpfk 340.60 1.45 0.00
(first number = total space used in MB, second number = total space free in MB, third number = quota)
No matter what I do, I can't get the quota to go to 1. I've tried 100MB, 400MB, and a few variations thereof.
Then I learnt about edquota from Apple's website and decided to give it a try. Tried:
sudo edquota edpfk
vi then opens and shows:
Quotas for user edpfk:
/: 1K blocks in use: 0, limits (soft = 0, hard = 0)
inodes in use: 0, limits (soft = 0, hard = 0)
/Volumes/Temp: 1K blocks in use: 0, limits (soft = 0, hard = 0)
inodes in use: 0, limits (soft = 0, hard = 0)
/Volumes/Mac RAID: 1K blocks in use: 348960, limits (soft = 0, hard = 0)
inodes in use: 10871, limits (soft = 0, hard = 0)
I change the soft limit to 1, and hard limit to 2 and save the file and exit and get:
/Volumes/Mac:RAID: 1K blocks in use: 348960, limits (soft = 1, hard = 2): bad format
It seems that edquota don't like the space in the filesystem. I've tried escaping it with a variety of characters including the \ and using quotes like "/Volumes/Mac RAID" but I'm unable to make it work. Is there a way to make edquota work with spaces in the filesystem name or is there any other way to set quotas?
Thanks very much for your help in advance!
Regards - Piers
Am administrating an OS X Panther server with a number of users, and there's a certain user using up a lot of disk space so have finally got my manager to agree to impose disk quotas, but I seem to be unable to. I open Workgroup Manager, click on Sharing, click on the volume named "Mac RAID" (it was named by someone else, not myself) and click on "Enable disk quotas on this volume" and clicked on Save. Then I went back to the Accounts area and clicked on my own non-admin username (to test) and set a disk quota of 1MB and clicked on save. Nothing happened. I logged out and logged back in. I was able to save data to the drive even tho I was about 350MB over quota. Then I opened Server Admin, clicked on the server and clicked on "System", then on "Quotas" and checked out my own account:
edpfk 340.60 1.45 0.00
(first number = total space used in MB, second number = total space free in MB, third number = quota)
No matter what I do, I can't get the quota to go to 1. I've tried 100MB, 400MB, and a few variations thereof.
Then I learnt about edquota from Apple's website and decided to give it a try. Tried:
sudo edquota edpfk
vi then opens and shows:
Quotas for user edpfk:
/: 1K blocks in use: 0, limits (soft = 0, hard = 0)
inodes in use: 0, limits (soft = 0, hard = 0)
/Volumes/Temp: 1K blocks in use: 0, limits (soft = 0, hard = 0)
inodes in use: 0, limits (soft = 0, hard = 0)
/Volumes/Mac RAID: 1K blocks in use: 348960, limits (soft = 0, hard = 0)
inodes in use: 10871, limits (soft = 0, hard = 0)
I change the soft limit to 1, and hard limit to 2 and save the file and exit and get:
/Volumes/Mac:RAID: 1K blocks in use: 348960, limits (soft = 1, hard = 2): bad format
It seems that edquota don't like the space in the filesystem. I've tried escaping it with a variety of characters including the \ and using quotes like "/Volumes/Mac RAID" but I'm unable to make it work. Is there a way to make edquota work with spaces in the filesystem name or is there any other way to set quotas?
Thanks very much for your help in advance!
Regards - Piers