LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-29-2011, 01:46 PM   #1
deeneyc09
LQ Newbie
 
Registered: Mar 2011
Posts: 14

Rep: Reputation: 0
Quotas


This is being done on RHEL 5.

I can set quotas for users on the root partition, /dev/sda2, no problem. When I attempt to set quotas for other partitions, let's say /dev/sda5 for an example, when I do a repquota /dev/sda5, it produces a quota list, but only root shows up on the list. The other users I made quotas for are not showing up.

Are there any limitations to quotas such as you can only put quotas on the highest partition on a disk or something like that? Maybe only primary partitions?
 
Old 04-29-2011, 02:15 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
Quotas cover the entire partition, not subdirectories. Here is a full explanation of disk quotes on RHEL 5.
http://docs.redhat.com/docs/en-US/Re...sk-quotas.html
 
Old 04-29-2011, 03:00 PM   #3
deeneyc09
LQ Newbie
 
Registered: Mar 2011
Posts: 14

Original Poster
Rep: Reputation: 0
Ah I must be confused with the partitioning then.

/dev/sda5 is considered a subdirectory because it's an extended partition, not a primary?
 
Old 04-29-2011, 03:04 PM   #4
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
Quote:
Originally Posted by deeneyc09 View Post
Ah I must be confused with the partitioning then.

/dev/sda5 is considered a subdirectory because it's an extended partition, not a primary?
No. You should be able to make a unique quota set for sda5.

I reread your original post. I had thought that you wanted to make quotas for subdirectories within a partition. I don't know why I got that impression.

Did you mount sda5 with quotas enabled in fstab as that web page specified in section 8.1.1? If you did then did you also implement the following steps on that page?

Last edited by stress_junkie; 04-29-2011 at 03:07 PM.
 
Old 04-29-2011, 06:53 PM   #5
deeneyc09
LQ Newbie
 
Registered: Mar 2011
Posts: 14

Original Poster
Rep: Reputation: 0
ah thanks for the posts. It looks like I had to use the -u switch.
 
Old 04-29-2011, 07:07 PM   #6
sibe
Member
 
Registered: Apr 2011
Location: Jakarta, Indonesia
Distribution: Fedora, CentOS
Posts: 122

Rep: Reputation: 21
--
Option -u should be the default, right?
Try run quotacheck on your partitions if repquota didn't show a correct report.
 
  


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
quotas.. shishirkotkar Linux - Newbie 1 02-07-2008 10:59 PM
Quotas AshLinux Linux - Enterprise 1 06-13-2007 07:33 AM
quotas help venki Linux - Newbie 2 12-08-2006 03:20 PM
Help with quotas 0p3r4 Linux - General 2 10-27-2005 04:35 PM
Quotas andy7t Linux - General 1 12-15-2004 04:14 PM


All times are GMT -5. The time now is 01:24 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