LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-12-2003, 06:24 AM   #1
raymond
Member
 
Registered: Nov 2002
Location: d
Posts: 63

Rep: Reputation: 15
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.
 
Old 04-12-2003, 08:26 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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).
 
Old 04-12-2003, 10:26 AM   #3
raymond
Member
 
Registered: Nov 2002
Location: d
Posts: 63

Original Poster
Rep: Reputation: 15
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.
 
Old 04-12-2003, 11:48 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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.
 
Old 08-27-2003, 12:01 AM   #5
slumberjer
LQ Newbie
 
Registered: Aug 2003
Distribution: RH9
Posts: 7

Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
User quota limit ust Linux - General 1 12-16-2004 06:55 AM
user quota ust Linux - Software 1 08-25-2004 09:53 AM
Quota for an user Anibal Slackware 4 06-01-2004 11:14 PM
User Quota chuck77 Linux - General 3 11-16-2002 09:21 AM
about user quota... raymond Linux - General 2 11-09-2002 10:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration