Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Feb 2020 13:53:11 -0500
From:      Ernie Luzar <luzar722@gmail.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>,  jail@freebsd.org
Subject:   jails with quota
Message-ID:  <5E46EC97.5080609@gmail.com>

next in thread | raw e-mail | index | archive | help
Looked all over and only found small blurb in jail(8) manpage that 
really says next to nothing. I created /usr/jails/fulljail by 
un-compressing the downloaded base.txz file and then copying the hosts 
localtime file and resolv.conf file to the fulljail. This fulljail 
starts and stops with out problems. I have added a user called daddy to 
this jail.

On the host I added quota_enable="YES" and check_quotas="YES" to the 
hosts rc.conf file. Also added userquota option to the hosts /etc/fstab 
file and rebooted the host.

The quota commands repquota -ah, quota -h bob, and edquota -uh bob all 
work on the host.

But after starting the fulljail with the allow.quotas option in 
jail.config and entering the root console I get this
edquota -uh daddy message "NO quotas on any filesystem
repquota -ah gives nothing
quota -h daddy  message Disk quotas for user daddy (uid1001): none

I see that quota had bug fixed in 12.0 that is now in 12.1 release that 
I am running on my host. Did that fix screw up jail quotas? Does the 
/etc/fstab file in fulljail need a entry? If so what should it look like.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5E46EC97.5080609>