Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 May 2000 12:52:03 +0200 (CEST)
From:      Christian Kratzer <ck@toplink.net>
To:        "D. W. Piper" <dwplists@loop.com>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: Confused about group quotas
Message-ID:  <Pine.BSF.4.10.10005271248090.79906-100000@babylon.toplink.net>
In-Reply-To: <00c601bfc767$db71f220$213cd3cf@loop.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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