Linux - quota per directory?

Posted by depesz on Server Fault See other posts from Server Fault or by depesz
Published on 2010-01-07T20:08:36Z Indexed on 2011/01/07 14:55 UTC
Read the original article Hit count: 254

Filed under:
|

I have following scenarios:

Single partition mounted as /, with lots of disk space.

There is a range of directories (/pg/tbs1, /pg/tbs2, /pg/tbs3 and so on), and I would like to limit total size of these directories.

One option is to make some big files, and then mkfs them, and mount over loopback, and then set quota, but this makes expansion a bit problematic.

Is there any other way to make the quota work per directory?

© Server Fault or respective owner

Related posts about linux

Related posts about quota