From owner-freebsd-hackers@FreeBSD.ORG Tue May 26 16:23:49 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC390106568B for ; Tue, 26 May 2009 16:23:49 +0000 (UTC) (envelope-from kostjn@peterhost.ru) Received: from mail.z8.ru (mail.z8.ru [80.93.58.56]) by mx1.freebsd.org (Postfix) with ESMTP id 74F108FC24 for ; Tue, 26 May 2009 16:23:49 +0000 (UTC) (envelope-from kostjn@peterhost.ru) Received: from [85.235.196.139] (helo=kostjn.pht) by mail.z8.ru with esmtpa (Exim 4.67 (FreeBSD)) (envelope-from ) id 1M8zRI-000A3k-C5 for freebsd-hackers@freebsd.org; Tue, 26 May 2009 20:23:44 +0400 Message-ID: <4A1C1805.8070906@peterhost.ru> Date: Tue, 26 May 2009 20:25:41 +0400 From: Menshikov Konstantin User-Agent: Thunderbird 2.0.0.18 (X11/20090328) MIME-Version: 1.0 CC: freebsd-hackers@freebsd.org References: <4A1B8CF8.7030102@peterhost.ru> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Disk quota for Jail. Discussion. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2009 16:23:50 -0000 Ivan Voras wrote: > Menshikov Konstantin wrote: > >> Hi. >> Jail now have no disk quotas. >> Users which use jail, use separate zfs or md device for jail, but it >> from a hopelessness. >> > > Well, the ZFS way of doing things (per-filesystem quotas) is actually > the right way to do it - it solves exactly the problem described. > > > Yes, you are right. But this way, has some lacks. 1. For quota change jail, it is necessary to stop jail and to start procedure of change of the size of file system. In case of use ufs it is not simple. 2. In case of use zfs, as far as I know, it is impossible to use virtual file systems for example unionfs.