From owner-freebsd-jail@FreeBSD.ORG Fri Aug 23 14:50:59 2013 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 288D997B for ; Fri, 23 Aug 2013 14:50:59 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.52.97]) by mx1.freebsd.org (Postfix) with ESMTP id 08F3D2C8F for ; Fri, 23 Aug 2013 14:50:58 +0000 (UTC) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id EB5FDCB8C8F; Fri, 23 Aug 2013 09:24:32 -0500 (CDT) Received: from 128.135.70.2 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Fri, 23 Aug 2013 09:24:32 -0500 (CDT) Message-ID: <19176.128.135.70.2.1377267872.squirrel@cosmo.uchicago.edu> Date: Fri, 23 Aug 2013 09:24:32 -0500 (CDT) Subject: per user quotas inside jail? From: "Valeri Galtsev" To: freebsd-jail@freebsd.org User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: galtsev@kicp.uchicago.edu List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Aug 2013 14:50:59 -0000 Dear Experts, After searching the web, reading FreeBSD Docs, trying some hacks found on some discussion boards... I feel it is not easily possible. Yet, as always there may be some expert who knows how to do it: How can one have per user quotas inside jail? Basically, I would like to give users shell access to some server, but that I prefer to have in jail, where I will mount all filesystems they need access to... and the only question is: how do I restrict them so one (or few) user doesn't fill up the whole filesystem. My mind is not married to any particular filesystem, UFS2, XFS, ZFS... - the only thing I would stay away from is NFS exporting on host and then NFS mounting in jail (which may be easiest if not the only way quota wise). Thanks. Valeri ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++