From owner-freebsd-jail@FreeBSD.ORG Tue Mar 26 11:55:10 2013 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E08219EF for ; Tue, 26 Mar 2013 11:55:10 +0000 (UTC) (envelope-from nbari@inbox.im) Received: from us3.route.mx (us3.route.mx [107.21.107.127]) by mx1.freebsd.org (Postfix) with ESMTP id 9C99F739 for ; Tue, 26 Mar 2013 11:55:10 +0000 (UTC) Received: (route-mx 48897 invoked from network); 26 Mar 2013 11:55:04 -0000 Received: from unknown (HELO nbari-z200.diz.la) (nbari@inbox.im@route.mx) (envelope-sender ) by us3.route.mx (route-mx) with SMTP for ; 26 Mar 2013 11:55:03 -0000 Message-ID: <51518C95.2010902@inbox.im> Date: Tue, 26 Mar 2013 11:55:01 +0000 From: Nicolas de Bari Embriz Garcia Rojas User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130314 Thunderbird/17.0.4 MIME-Version: 1.0 To: freebsd-jail@freebsd.org Subject: add more swap to jail within a jail References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Mar 2013 11:55:10 -0000 Hi, how can I add more swap space within a jail ? I have a jail with limited resources via rctl with somethiing like: jail:myjail:maxproc:deny=50 jail:myjail:memoryuse:deny=512M jail:myjail:swapuse:deny=512M But I want to know it it is possible to add jail disk space to increment the swap ? I am trying to compile gearmand/boots-libs but I can't since eats to much memory. An initial solution is to add the swap on the host, but is there a way to do it within the jail so that the (root user/admin) doesn't have to bother the host admin. any ideas? regards.