From owner-freebsd-questions Tue Feb 14 17:18:27 1995 Return-Path: questions-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id RAA19839 for questions-outgoing; Tue, 14 Feb 1995 17:18:27 -0800 Received: from prosun.first.gmd.de (prosun.first.gmd.de [192.35.150.136]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id RAA19825 for ; Tue, 14 Feb 1995 17:18:21 -0800 Received: from g386bsd.first.gmd.de by prosun.first.gmd.de (4.1/SMI-4.1) id AA15241; Wed, 15 Feb 95 02:17:52 +0100 Received: by g386bsd.first.gmd.de (CAA01800); Wed, 15 Feb 1995 02:20:02 +0100 From: Andreas Schulz Message-Id: <199502150120.CAA01800@g386bsd.first.gmd.de> Subject: Re: Quota To: GEZA@fa.gau.hu (Lemle Geza MG/III.) Date: Wed, 15 Feb 1995 02:20:02 +0059 (MET) Cc: FreeBSD-questions@FreeBSD.org In-Reply-To: from "Lemle Geza MG/III." at Feb 14, 95 07:05:05 pm X-Mailer: ELM [version 2.4 PL24] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1431 Sender: questions-owner@FreeBSD.org Precedence: bulk > We would like to introduce disk quotas on our server. > We are currently using FreeBSD 2.0-950202-SNAP, for the delight of all the > users. > Unfortunately, we have not yet found description on quota.group and quota.user. > I would appreciate very much, if some of you could help me what to write in > these files exactly. If i remember correctly you simply "touch quota.user" in root directory of the partition. Then add the "userquota" or "groupquota" in your /etc/fstab to the flags. And after a remount of the filesystem run a "quotacheck -v -a" on it. After that the quota.user or quota.group file has valid entries. And now you can manipulate the entries with "edquota". Read all the manual pages about these commands, how they are used exactly :-). Example: my /usr2 file system contains quota, so my /etc/fstab entry is: /dev/sd1a /usr2 ufs rw,userquota 1 3 and /usr2 has a /usr2/quota.user. To manipulate my own quota entry i use a "edquota ats" and land in an editor and can manipulte my quota as a super-user :-). One Word of Warning: you should only enable one filesystem with quotas on FreeBSD 2.0. Many people have reported problems with two or three filesystems and quotas enabled. ATS ( ats@first.gmd.de or ats@cs.tu-berlin.de ) Andreas Schulz GMD-FIRST 12489 Berlin-Adlershof Rudower Chaussee 5 Gebaeude 13.7 Tel: +49-30-6392-1856/+49-177-2134745 Germany/Europe