From owner-freebsd-stable@FreeBSD.ORG Mon Nov 27 09:42:03 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C4AAF16A47E for ; Mon, 27 Nov 2006 09:42:03 +0000 (UTC) (envelope-from jason@theyhost.com) Received: from vogon.theyhost.com (vogon.theyhost.com [12.47.45.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FE6C43DD9 for ; Mon, 27 Nov 2006 09:40:44 +0000 (GMT) (envelope-from jason@theyhost.com) Received: from Uhura (vogon [12.47.45.53]) by vogon.theyhost.com (8.13.8/8.13.8) with ESMTP id kAR9fXtT006951 for ; Mon, 27 Nov 2006 01:41:35 -0800 (PST) (envelope-from jason@theyhost.com) From: "Jason Vance" To: Date: Mon, 27 Nov 2006 01:42:15 -0800 Message-ID: <057401c71208$52e4e780$767384d9@Uhura> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Thread-Index: AccRUx2a0C/OVqaMQO6UiUZderHsYwAtN69Q In-Reply-To: <20061126120050.0AB7E16A66B@hub.freebsd.org> X-Spam-Status: No, score=-3.2 required=7.5 tests=ALL_TRUSTED,AWL,BAYES_20 autolearn=ham version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on vogon.theyhost.com Subject: gmirror and quota corruption X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Nov 2006 09:42:03 -0000 I have a FreeBSD 5.5-STABLE box that is setup with a gmirror RAID 1 using two identical harddrives. I installed quotas on the filesystem by enabling it 'options QUOTA' and rebuilding the kernel. I added userquota to the /etc/fstab for the /usr partition and I added 'enable_quotas=YES' and 'check_quotas=NO' to the /etc/rc.conf file thinking i can get it to build the quota table on the fly instead of it doing that at boot time. The system boots up but as soon as I do any disk access ie 'repquota -a' or write a file to the harddrive, the system hangs. I can still connect to the various services via telnet to their port, but none of them respond. Now that I've disabled quotas I am able to use the system however fsck has reported many various file corruptions and destroyed some of my important system files. Is there a known conflict between gmirror and a quota enabled filesystem? How can I properly set these up?