From owner-freebsd-questions Thu Dec 5 14:15:33 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D137537B401 for ; Thu, 5 Dec 2002 14:15:30 -0800 (PST) Received: from catv-50622a7a.nyircatv.broadband.hu (catv-50622a7a.nyircatv.broadband.hu [80.98.42.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6ED5943E4A for ; Thu, 5 Dec 2002 14:15:29 -0800 (PST) (envelope-from andrew@kronos.HomeUnix.com) Received: from slave.east.ath.cx (witch@slave.east.ath.cx [10.1.1.1]) by catv-50622a7a.nyircatv.broadband.hu (8.12.6/8.12.6) with ESMTP id gB5MFMqp060573 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Thu, 5 Dec 2002 23:15:22 +0100 (CET) (envelope-from andrew@east.ath.cx) Date: Thu, 5 Dec 2002 23:15:21 +0100 (CET) From: Andrew Prewett Reply-To: Andrew Prewett To: freebsd-questions@FreeBSD.ORG Subject: Re: quotas In-Reply-To: <200212052124.GB5LOGT38412@asarian-host.net> Message-ID: <20021205231042.H84236-100000@slave.east.ath.cx> References: <200212052040.GB5KE6T24300@asarian-host.net> <200212051606.56799.rick@help-desk.ca> <200212052124.GB5LOGT38412@asarian-host.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Today Mark wrote: > ----- Original Message ----- > From: "Rick Fournier" > To: "Mark" ; > Sent: Thursday, December 05, 2002 10:06 PM > Subject: Re: quotas > > > > > every mount point with quota enabled will create a quota.user and > > or quota.group file in the root of each mount. > > Thanks! :) What you say makes perfect sense. Not properly understanding, I > did a dumb thing; I symlinked /var/quota.user to /quota.user (thinking it > all needed to be in one file; doh). Then the kernel paniced (and me along > with it) on shutdown: > > "freebsd panic: dqflush: stray dquot" > > Well, it rebooted, saw some bad blocks, salvaged them, and everything is > okay again. Pfew. As someone said here, FreeBSD is very forgiving. :) You can specify the exact location for the quota files in /etc/fstab, ie.: /dev/ad0s1h /home ufs rw,userquota=/var/quotas/user.home,groupquota=/var/quotas/grp.home 2 2 -andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message