From owner-freebsd-stable@FreeBSD.ORG Tue Mar 24 21:49:45 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 423C71065672 for ; Tue, 24 Mar 2009 21:49:45 +0000 (UTC) (envelope-from spork@bway.net) Received: from xena.bway.net (xena.bway.net [216.220.96.26]) by mx1.freebsd.org (Postfix) with ESMTP id D44BF8FC14 for ; Tue, 24 Mar 2009 21:49:44 +0000 (UTC) (envelope-from spork@bway.net) Received: (qmail 19820 invoked by uid 0); 24 Mar 2009 21:49:44 -0000 Received: from unknown (HELO freemac.nat.fasttrackmonkey.com) (spork@bway.net@96.57.144.66) by smtp.bway.net with (DHE-RSA-AES256-SHA encrypted) SMTP; 24 Mar 2009 21:49:44 -0000 Date: Tue, 24 Mar 2009 17:49:43 -0400 (EDT) From: Charles Sprickman X-X-Sender: spork@freemac.nat.fasttrackmonkey.com To: "Michael R. Wayne" In-Reply-To: <20090324165215.GA79638@manor.msen.com> Message-ID: References: <20090324165215.GA79638@manor.msen.com> User-Agent: Alpine 2.00 (OSX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: stable@freebsd.org Subject: Re: setting quotas from inside a jail X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2009 21:49:45 -0000 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" >