LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-18-2011, 04:24 PM   #1
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,027

Rep: Reputation: 69
Setting usr and grp quotas...


I have a group named temps that I created and added a few users to the group. I have enabled usrquota and grpquota in the /etc/fstab for that device(mounted on /home).

I used
Code:
quotacheck -ug /home
which created the aquota.usr and aquota.grp. Now I can use
Code:
setquota -g rhce 800000 1000000 750 1000 /home
to set soft and hard for both disk space and inodes. I can verify them with quota -g rhce. They saved. Now I want to add a grace period of 7days. So I have tried
Code:
setquota -g temps -T 7days 7days /home
but the changes do not stick. I run quota -g temps and there are still blanks under the grace fields. I have also tried
Code:
edquota -g temps -T
but the changes do not stick. I'm doing all this as root.
Any reason why the changes would not save? I have selinux on permissive and I do not get any errors after running each command.

Last edited by trist007; 08-18-2011 at 05:19 PM.
 
Old 08-18-2011, 09:31 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Try re-doing, using the steps on these pages; looks like you might have missed one or two things.
http://www.linuxtopia.org/online_boo...sk-quotas.html
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up disk quotas rcmonroig Linux - Newbie 1 12-10-2009 03:46 AM
grp usr cannot gain access to share dir michaeltipton2222 Linux - Newbie 1 06-25-2007 08:40 PM
Quotas: Setting them Swakoo Linux - Newbie 1 10-27-2005 08:59 AM
Setting Up Filesystem Quotas j_miguel_y Linux - Software 0 06-09-2004 11:21 AM
Setting up User Quotas? Uncreative Slackware 3 05-11-2003 09:08 AM


All times are GMT -5. The time now is 06:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration