From owner-freebsd-questions Thu Feb 25 3:51:37 1999 Delivered-To: freebsd-questions@freebsd.org Received: from granite.sentex.net (granite.sentex.ca [199.212.134.1]) by hub.freebsd.org (Postfix) with ESMTP id 34F5C14D5A for ; Thu, 25 Feb 1999 03:51:35 -0800 (PST) (envelope-from mike@sentex.net) Received: from ospf-wat.sentex.net (ospf-wat.sentex.net [209.167.248.81]) by granite.sentex.net (8.8.8/8.6.9) with SMTP id GAA16309 for ; Thu, 25 Feb 1999 06:51:18 -0500 (EST) From: mike@sentex.net (Mike Tancsa) To: questions@freebsd.org Subject: Re: Weird quota Date: Thu, 25 Feb 1999 11:59:33 GMT Message-ID: <36d53a68.1149740339@mail.sentex.net> References: from Joao Pedras at "Feb 23, 99 10:25:45 pm" In-Reply-To: X-Mailer: Forte Agent .99e/32.227 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 25 Feb 1999 05:59:21 -0500, in sentex.lists.freebsd.questions you wrote: > ># Check the quotas (must be after ypbind if >using NIS)[ "X${check_quotas}" = X"YES" ]; then > echo -n 'checking quotas:' > /usr/sbin/quotacheck -a > echo ' done.' > /usr/sbin/quotaon -a > The other thing I am not entirely clear on with quotas, is can I do a quotacheck on a live machine ? The man pages say Quotacheck accesses the raw device in calculating the actual disk usage for each user. Thus, the filesystems checked should be quiescent while quotacheck is running. Should be, or *must* be ? i.e. can I safely do quotaoff -a quotacheck -a quotaon -a or can I just do a quotacheck to fix the inconsistancies ? ---Mike Mike Tancsa (mdtancsa@sentex.net) Sentex Communications Corp, Waterloo, Ontario, Canada To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message