About user quota...
I recently installed RH 9 to my box and when I tried to setup user quota by vi-ing fstab, I found the line /home..... user.....1 2 was missing and I could not quotacheck the setting. It prompted me "can't find filesystem to check....."
I have also created quota.group and quota.user manually in /home directory but still "quotacheck" command did not work. Did I miss something? Cheers. |
Did you use edquota to set up the /etc/quota.conf?
Also quota files shouldn't be created manually unless with that you mean using quotacheck. Quotacheck will fail with a warning when quotachecking live systems, IIRC the "-m" option will overrride that. Also make sure you got the right quota version (man quotacheck). |
Hi there. Thankx for your prompt reply.
I tried to use edquota to set up the quota.conf as you advised but it prompted me to add some sort of 'parameter' followed by a "-" and that really got me! It seemed that I failed to specify the filesystem after the command edquota. (e.g. edquota -filesystems..) What should I do to 'edquota' with a filesystem? (What's the name of that filesystem which I got to specify?) By the way, what's the IIRC? Sorry, I am just a newbie. Cheers. |
No prob and no need to apologize. When someone hasn't provided you with all the details on how to do something, checking the following commands will help you: "whatis (or apropos) <command>": basic info about an apps purpose, "<command> -h (or --help)": the apps usage in short (with required or optional arguments) and "man (or info) <command>": the apps manual aka "man pages".
If you want to do it all by yourself (congrats then), read the manuals for quota, quotacheck and edquota, try some, note down any errors, try to figure them out and if it won't work, post 'em here... If you are gonna post errors, make sure you describe (in detail, if possible) what you've done, and make sure to post *real* error messages, that'll be easier on those trying to help you. else if you want some headstart: 1. add to per mountpoint these entry options: "usrquota,grpquota" in /etc/fstab, 2. make or set the quotafiles with "quotacheck -vcmi -u -g -F <version> <mountpoint>" per mountpoint, 3. edit a user or group's quota with "edquota <username>", 4. enable with "quotaon -u -g <mount>", and run a report with "repquota -u (-g) <mount>". AFAIK that's the order... IIRC and more. |
quota
Hello,
I recently installed RH 9 to my box and I want to setup user quota...but i am a newbie to linux and had little experince with it. can any1 give a fool proof guide how to setup quota users. i know that to setup quota is using edquota command but i have no idea how to do it. thanks. |
All times are GMT -5. The time now is 11:56 AM. |