Date: Tue, 12 Nov 2019 13:13:04 -0500 From: Ernie Luzar <luzar722@gmail.com> To: Valeri Galtsev <galtsev@kicp.uchicago.edu> Cc: freebsd-questions@freebsd.org Subject: Re: quotas in jails Message-ID: <5DCAF630.3090302@gmail.com> In-Reply-To: <c96a9d56-c9ba-e59b-563a-5d7c3c1d6d1e@kicp.uchicago.edu> References: <5DC48E00.30203@gmail.com> <c96a9d56-c9ba-e59b-563a-5d7c3c1d6d1e@kicp.uchicago.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Valeri Galtsev wrote: > > > On 2019-11-07 15:34, Ernie Luzar wrote: >> Has anyone been able to get quotas to work in multiple jails? > > I'm not certain I quite understand what you are asking. > > I'm successfully using UFS-2 filesystem quotas. In my case filesystems > with quotas set up as you usually would are mounted on host system, and > nullfs mounted beneath jail's root point (can be on various levels). > > Valeri Thank you for your reply Valeri. But I am having trouble comprehending what your words are saying as related to the system configuration files. I am working with RELEASE 12.0 and quotas is included in the delivered kernel so need to compile the quota option into the kernel. I used bsdinstall to install the system from scratch and selected to use the whole hard drive as a single partition. I manually added quota_enable="YES" to the rc.conf file and rebooted. In the boot messages I see message that quote started normally. My jail is a directory tree type at path /usr/jails/jailname and I can start and stop that jail using the jail command with no problems. My goal is for the jail users to issue the quota commands to check on how much space they have used of the allowed space. The man jail documentation says the path /usr/jails/jailname is called a filesystem. I this the same thing you are calling a filesystem? An excerpt of the configuration statements and the name of the files they go in would sure be helpful in understanding how you have your jail quota environment setup. Thanks in advance for any help.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5DCAF630.3090302>