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

Notices

Reply
 
LinkBack Search this Thread
Old 02-26-2010, 05:08 PM   #1
kschmitt
Member
 
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?

Thanks,
--Kyle
 
Old 02-27-2010, 04:08 AM   #2
carltm
Member
 
Registered: Jan 2007
Location: Canton, MI
Distribution: CentOS, SuSE, Red Hat, Debian, etc.
Posts: 697

Rep: Reputation: 93
Yes, you're seeing normal behavior. The only way I know to separate the
quotas is to use separate partitions.
 
Old 02-27-2010, 03:56 PM   #3
kschmitt
Member
 
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!
 
  


Reply

Tags
quotas


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
quotas.. shishirkotkar Linux - Newbie 1 02-07-2008 09:59 PM
quotas shishirkotkar Suse/Novell 1 01-31-2008 08:27 AM
Quotas AshLinux Linux - Enterprise 1 06-13-2007 06:33 AM
Help with quotas 0p3r4 Linux - General 2 10-27-2005 03:35 PM
Quotas andy7t Linux - General 1 12-15-2004 03:14 PM


All times are GMT -5. The time now is 01:13 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration