From owner-freebsd-hackers Thu Nov 28 10:46:55 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2642A37B401 for ; Thu, 28 Nov 2002 10:46:54 -0800 (PST) Received: from corp.e-scape.net (corp.e-scape.net [216.13.52.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C2C843EAF for ; Thu, 28 Nov 2002 10:46:53 -0800 (PST) (envelope-from stefanos@e-scape.net) Received: from corp.e-scape.net (localhost.e.scape.net [127.0.0.1]) by corp.e-scape.net (8.9.3/8.9.3) with ESMTP id SAA95904 for ; Thu, 28 Nov 2002 18:09:32 -0500 (EST) (envelope-from stefanos@corp.e-scape.net) Message-Id: <200211282309.SAA95904@corp.e-scape.net> To: freebsd-hackers@freebsd.org Subject: Re: jail Date: Thu, 28 Nov 2002 18:09:32 -0500 From: Stefanos Kiakas Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, I believe it has been discussed on one of these lists before. Create a file that is 5G and use vnconfig to define pseudo disk device, create a new file system using newfs, then create the jail. Stefanos ------- Forwarded Message Date: Thu, 28 Nov 2002 15:40:50 -0200 (BRST) From: Jean Milanez Melo To: hackers@FreeBSD.ORG Subject: jail Message-ID: <20021128153559.N1161-100000@offset.freebsdbrasil.com.br> Hello, I run a number of jail enviroments in a public server, so, i would like to limit the disk usage of each jail to, say, X GB. Lets think of a practical issue. I have 40GB storage space, and what i want is to limit disk usage to 5GB each jail. This way i will be always sure that, say, if i have 4 jails, i will always have 20GB avaible. The default jail behavior allows the jail enviroment to use all disk space avaiable in the main sys limit that. Thanks Jean Milanez Melo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message ------- End of Forwarded Message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message