From owner-freebsd-isp Sat May 27 3:53:31 2000 Delivered-To: freebsd-isp@freebsd.org Received: from mail-secure.toplink.net (mail-secure.toplink.net [195.2.171.5]) by hub.freebsd.org (Postfix) with ESMTP id EEC6937B620 for ; Sat, 27 May 2000 03:53:24 -0700 (PDT) (envelope-from ck@toplink.net) Received: from localhost.toplink.net (mail-scan.toplink.net [195.2.171.141]) by mail-secure.toplink.net (8.9.3/8.9.3) with ESMTP id MAA12690; Sat, 27 May 2000 12:53:23 +0200 (CEST) Received: from mail-secure.toplink.net (mail-scan [127.0.0.1]) by localhost.toplink.net (8.9.3/8.9.3) with ESMTP id KAA05423; Sat, 27 May 2000 10:53:34 +0200 Received: from babylon.toplink.net (babylon.toplink.net [195.2.171.90]) by mail-secure.toplink.net (8.9.3/8.9.3) with ESMTP id MAA12686; Sat, 27 May 2000 12:53:21 +0200 (CEST) Received: from localhost (ck@localhost) by babylon.toplink.net (8.9.3/8.9.3) with ESMTP id MAA80140; Sat, 27 May 2000 12:52:03 +0200 (CEST) Date: Sat, 27 May 2000 12:52:03 +0200 (CEST) From: Christian Kratzer To: "D. W. Piper" Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Confused about group quotas In-Reply-To: <00c601bfc767$db71f220$213cd3cf@loop.com> Message-ID: X-NCC-RegID: de.toplink X-Spammer-Kill-Ratio: 75% X-Jihad: Will hunt down all cases of Spam and Net abuse. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, On Fri, 26 May 2000, D. W. Piper wrote: > Hi All :) > > In preparation for revamping a webhosting product, I've been trying to > test user and group quotas, and have found a strange thing which I don't > understand. I'm hoping someone can either explain it or point out where > I went wrong: [stuff snipped] > Anyone know what I'm doing wrong? you forgot to mount the partitions with quotas activated ck@toplink8: {4} cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/da0s1b none swap sw 0 0 /dev/da0s1a / ufs rw 1 1 /dev/da0s1g /u1 ufs rw,userquota,groupquota 2 2 /dev/da1s1e /u2 ufs rw,userquota,groupquota 2 2 /dev/da0s1e /usr ufs rw 2 2 /dev/da0s1f /var ufs rw 2 2 proc /proc procfs rw 0 0 ck@toplink8: {5} to remount the /usr partition without booting try mount -o update,userquota,groupquota /usr you should see the active mount options with mount ck@toplink8: {5} mount /dev/da0s1a on / (local, writes: sync 2795 async 383434) /dev/da0s1g on /u1 (local, with quotas, writes: sync 20184 async 314613) /dev/da1s1e on /u2 (asynchronous, local, with quotas, writes: sync 9268752 async 4075436) /dev/da0s1e on /usr (local, writes: sync 575 async 275782) /dev/da0s1f on /var (local, writes: sync 66378 async 386662) procfs on /proc (local) ck@toplink8: {6} uups. seems like i forgot to remount /u2 sync after the last bulk copy ;-) Greetings Christian -- TopLink Internet Services GmbH ck@171.2.195.in-addr.arpa Christian Kratzer http://www.toplink.net/ Phone: +49 7032 2701-0 Fax: +49 7032 2701-19 FreeBSD spoken here! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message