Is there an easy way to cap the size of a directory? I don't think there is but just wanted to make sure. I would like to set max directory sizes for some user home dirs as well as some other dirs, mostly under /var in an attempt to better manage the disk resources.
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
|
|||||||||||
|
|
You can have a separate filesystem for /var on a new disk partition/LUN created for this. Then, you can use LVM to manage the size. In future, if you feel the need to grow this filesystem, LVM will be more flexible for that. |
|||
|

