Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Oct 2001 12:25:07 +0400 (MSD)
From:      Alexey Zakirov <frank@agava.com>
To:        <francisv@dagupan.com>
Cc:        <isp@freebsd.org>
Subject:   RE: jail + quota
Message-ID:  <Pine.BSF.4.32.0110021212420.45434-100000@hellbell.domain>
In-Reply-To: <10F29E27A956D511B0940050DA8D86A9340A25@chat.dagupan.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2 Oct 2001 francisv@dagupan.com wrote:

> Henk,
>
> What's your suggestion? These are some of the things that are running inside
> my head:
>
> 1) create a partition for each jail client
> 2) use vn

Why do you need all this strange things? Usual kernel quota mechanism
works just fine for jails although there are some problems here.

The first problem is that in a jail you can't use quotactl(2) syscall. You
need to setup quota limits from a master system in a some special manner
(like a ssh from jail to master).

The second one is that you need some special tool for setting quotas
because standard edquota(8) is interactive tool and
/usr/ports/sysutils/setquota require for acoount to exist in the master
environment.

The third problem is that all your accounts and groups must be unique
across the whole machine.

*** WBR, Alexey Zakirov (frank@agava.com)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.32.0110021212420.45434-100000>