Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Aug 2013 08:00:57 -0700
From:      Aaron Kaufman <aaron@aaronkaufman.com>
To:        galtsev@kicp.uchicago.edu
Cc:        freebsd-jail@freebsd.org
Subject:   Re: per user quotas inside jail?
Message-ID:  <CAHQbGwXROWt-YcnoCiGVRAOSqA-ArLaG%2BwWWSb1DxzKvFUUGmA@mail.gmail.com>
In-Reply-To: <19176.128.135.70.2.1377267872.squirrel@cosmo.uchicago.edu>
References:  <19176.128.135.70.2.1377267872.squirrel@cosmo.uchicago.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
ZFS has native quota and reservation options. Example: "zfs set quota=10G
tank/jailname"
On Aug 23, 2013 7:51 AM, "Valeri Galtsev" <galtsev@kicp.uchicago.edu> wrote:

> 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
> ++++++++++++++++++++++++++++++++++++++++
>
> _______________________________________________
> freebsd-jail@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHQbGwXROWt-YcnoCiGVRAOSqA-ArLaG%2BwWWSb1DxzKvFUUGmA>