Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 01-22-2006, 11:31 PM   #1
Registered: Jan 2006
Location: Sydney
Distribution: RHEL
Posts: 72

Rep: Reputation: 15
Quota management

I have a question about Quota management in RHE 4 AS.

I tried to test the quota control option in Linux, so I followed the following steps:

#edquota -u fuad

I sat the quota setting as follows:
Disk quotas for user fuad (uid 501):
Filesystem blocks soft hard inodes soft hard
/dev/mapper/VolGroup00-LogVol00 16 5000 8000 12 0 0

#edquota -t
Time units may be: days, hours, minutes, or seconds
Filesystem Block grace period Inode grace period
/dev/mapper/VolGroup00-LogVol00 6days 7days

then I logged on as "fuad" and created number of files with sizes greater than his quota. No error generated.

#quotacheck -avugm
quotacheck: Scanning /dev/mapper/VolGroup00-LogVol00
quotacheck: Checked 7511 directories and 74201 files
repquota -a
Block grace time: 6days; Inode grace time: 7days
Block limits File limits
User used soft hard grace used soft hard grace
fuad +- 19016 5000 8000 6days 12 0 0

the report showed that fuad exceeded his quota, but I thought Linux will prevent him from doing that in first place.

Can you clarify that to me please?
Old 01-22-2006, 11:59 PM   #2
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 122Reputation: 122
Did you enable quotas using 'quotaon'?
Old 01-23-2006, 12:43 AM   #3
Registered: Oct 2003
Location: Ohio
Distribution: Fedora 20, 21, RHL 5.2
Posts: 546

Rep: Reputation: 43
True and after executing quotaon I believe you need to run quotacheck to set up the initial quota files. You may also find this thread useful.

Old 01-23-2006, 03:35 AM   #4
Registered: Jan 2006
Location: Sydney
Distribution: RHEL
Posts: 72

Original Poster
Rep: Reputation: 15
hi Matir and wmakowski,

yes.. using quotaon -avug command, it worked just fine.

Thanks alot.


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
What content management or file management software is best for the job? Niceman2005 Linux - Software 2 05-10-2005 11:02 PM
quota jrafalek Linux - Software 2 03-04-2005 02:23 AM
Quota....??? IwantLINUX Linux - Newbie 4 02-09-2005 04:12 PM
ftp quota probs - 0kb files at quota limit ph_xm Linux - Newbie 0 02-02-2005 12:13 PM
Can I enable quota management in root(/)? paranoia1980 Red Hat 4 09-17-2003 12:19 PM

All times are GMT -5. The time now is 10:43 PM.

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