Date: Tue, 24 Mar 2009 17:49:43 -0400 (EDT) From: Charles Sprickman <spork@bway.net> To: "Michael R. Wayne" <freebsd07@wayne47.com> Cc: stable@freebsd.org Subject: Re: setting quotas from inside a jail Message-ID: <alpine.OSX.2.00.0903241749070.49636@freemac.nat.fasttrackmonkey.com> In-Reply-To: <20090324165215.GA79638@manor.msen.com> References: <alpine.OSX.2.00.0903240253550.75858@office-dhcp-35.bway.net> <20090324165215.GA79638@manor.msen.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 24 Mar 2009, Michael R. Wayne wrote: > On Tue, Mar 24, 2009 at 03:05:05AM -0400, Charles Sprickman wrote: >> >> The subject describes my goal. I'm aware of the usual caveats - if >> there's more than one jail, no UID overlap, this will really only work in >> one jail if all jails are on the same filesystem, etc. >> >> I found a very, very old post that has an... interesting... technique: >> >> http://groups.google.com/group/mpc.lists.freebsd.hackers/msg/2b92fc66ac72efa6?hl=en >> >> It actually works. "It" being I suppose the fstab trickery in the jail. >> I need to test this some more, but it does seem possible to edit quotas >> inside the jail, which is my basic goal. I don't want my provisioning box >> to have to hit the host just to alter quotas in one jail that needs them. >> >> Just looking for any warnings/caveats about the above and what might be >> different 6+ years later... > > That's my post. Yes, we still do this. It still works. Over time, > sometimes things get out of sync. If that happens, go to S, shut > off quotas, do a quotacheck, turn them back on. I seemed to knock it out of whack on my first reboot after getting it working. Does checking quotas on boot "break" it? Thanks, C > /\/\ \/\/ > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.OSX.2.00.0903241749070.49636>