per user quotas inside jail?

Aaron Kaufman aaron at aaronkaufman.com
Fri Aug 23 15:00:58 UTC 2013


ZFS has native quota and reservation options. Example: "zfs set quota=10G
tank/jailname"
On Aug 23, 2013 7:51 AM, "Valeri Galtsev" <galtsev at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscribe at freebsd.org"
>


More information about the freebsd-jail mailing list