LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Question about Quotas. (https://www.linuxquestions.org/questions/linux-server-73/question-about-quotas-791829/)

kschmitt 02-26-2010 05:08 PM

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

carltm 02-27-2010 04:08 AM

Yes, you're seeing normal behavior. The only way I know to separate the
quotas is to use separate partitions.

kschmitt 02-27-2010 03:56 PM

Ahh OK. That's the answer I expected, just not the one I hoped for ;)

Thanks carltm!


All times are GMT -5. The time now is 12:06 AM.