Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 02-26-2010, 06:08 PM   #1
Registered: Jul 2009
Location: Chicago Suburbs
Distribution: Crux, CentOS, RHEL, Ubuntu
Posts: 96

Rep: Reputation: 23
Question about Quotas.

I have a question about user vs group quotas in linux.

I've got a fairly large fileserver, and my users are out of control on the disc usage. I've got to implement quotas, and soon.

Currently all their personal folders, and the shared directories, are on the same partition.

For the sake of illustration, lets say I set user quotas to 20MB, and group quotas (for shared directories) to be 1GB, and they are both on the same partition.

/home/kyle #home directory
/home/dept/IT #shared directory

According to what I've read of the quota docs (and what I tested), if I wrote 15MB to /home/kyle, and then tried to put a 10MB file into /home/dept/IT, I would get an error, because it's over my user quota.

Is this normal behavior? It seems like it follows the docs, but I just want to double check.

Now, more importantly, is there a way to separate the quotas? So the group quota doesn't count against the user quota?

Do quotas work on a bind mount? Are there extra magical flags I can set? Or is the best (or only) way to do this to use separate partitions?

Old 02-27-2010, 05:08 AM   #2
Registered: Jan 2007
Location: Canton, MI
Distribution: CentOS, SuSE, Red Hat, Debian, etc.
Posts: 703

Rep: Reputation: 97
Yes, you're seeing normal behavior. The only way I know to separate the
quotas is to use separate partitions.
Old 02-27-2010, 04:56 PM   #3
Registered: Jul 2009
Location: Chicago Suburbs
Distribution: Crux, CentOS, RHEL, Ubuntu
Posts: 96

Original Poster
Rep: Reputation: 23
Ahh OK. That's the answer I expected, just not the one I hoped for

Thanks carltm!



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 shishirkotkar SUSE / openSUSE 1 01-31-2008 09:27 AM
Quotas AshLinux Linux - Enterprise 1 06-13-2007 07:33 AM
Help with quotas 0p3r4 Linux - General 2 10-27-2005 04:35 PM
Quotas andy7t Linux - General 1 12-15-2004 04:14 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:07 AM.

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