From owner-freebsd-isp Tue Oct 2 1:25:16 2001 Delivered-To: freebsd-isp@freebsd.org Received: from relay2.agava.net.ru (ofc.agava.net [213.59.3.194]) by hub.freebsd.org (Postfix) with ESMTP id C445237B409 for ; Tue, 2 Oct 2001 01:25:11 -0700 (PDT) Received: from hellbell.domain (hellbell.domain [192.168.1.12]) by relay2.agava.net.ru (Postfix) with ESMTP id B416043A17; Tue, 2 Oct 2001 12:25:09 +0400 (MSD) Received: from localhost (localhost [127.0.0.1]) by hellbell.domain (Postfix) with ESMTP id 822D2CCC9; Tue, 2 Oct 2001 12:25:08 +0400 (MSD) Date: Tue, 2 Oct 2001 12:25:07 +0400 (MSD) From: Alexey Zakirov X-X-Sender: To: Cc: Subject: RE: jail + quota In-Reply-To: <10F29E27A956D511B0940050DA8D86A9340A25@chat.dagupan.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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