From owner-freebsd-current Thu Nov 14 7:48:21 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4ECB337B401 for ; Thu, 14 Nov 2002 07:48:19 -0800 (PST) Received: from kernighan.cl.msu.edu (kernighan.cl.msu.edu [35.9.75.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id D323243E3B for ; Thu, 14 Nov 2002 07:48:18 -0800 (PST) (envelope-from muk@msu.edu) Received: from 24.247.248.229.gha.mi.chartermi.net ([24.247.248.229] helo=msu.edu) by kernighan.cl.msu.edu with asmtp (Exim 4.05 #5) (TLSv1:DES-CBC3-SHA:168) id 18CMDr-0004YA-00 for freebsd-current@freebsd.org; Thu, 14 Nov 2002 10:48:03 -0500 Date: Thu, 14 Nov 2002 10:48:21 -0500 Mime-Version: 1.0 (Apple Message framework v548) Content-Type: text/plain; charset=US-ASCII; format=flowed Subject: Quota/FS problems From: Matthew Kolb To: freebsd-current@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: <8079B0B2-F7E8-11D6-B3FD-0003936F5EBA@msu.edu> X-Mailer: Apple Mail (2.548) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello current@ I am having a problem with one of my machines running -CURRENT srcs from Nov. 5 The machine is acting as an NFS server. It crashed around the 12th or so with a Softupdates deps error which is maybe what started all of this. (no I do not have the crash dump, but I will do my best to get one if it happens again). The slice that puked (/dev/amrd1s1e )was fsck'd and remounted on reboot. I had not noticed problems with the slice until I tried to apply quotas to it. I added options QUOTA to my kernel, enable_quotas="YES" to /etc/rc.conf and rebooted. I then did an edquota on a proto user (quota). I subsequently ran edquota -p quota 1050-999999 which created a large quota file: thompson# ls -sk quota.user /maildirs 31264 quota.user I then rebooted again for good measure (and to make sure quotacheck ran) when I ran repquota -a however, I was suprised to see incorrect values for fs usage: thompson# repquota -a | head -3 -- ~ Block limits File limits User used soft hard grace used soft hard grace 12071 -- 52 65536 67584 - 4 0 0 - thompson# ls -l /maildirs/1/7/12071 total 2 drwx------ 10 12071 1024 512 Sep 13 17:12 Maildir/ thompson# du -sh * /maildirs/1/7/12071 62M Maildir so, I decided that I should unmount the slice and run quotacheck on it by hand, which i did: thompson# quotacheck -a quotacheck: bad inode number 1 to nextinode THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY: /dev/amrd1s1e (/maildirs) I then tried to fsck -fF /dev/amrd1s1e which acted normal (reported no errors, nor any fixing) Then, quotacheck again, with the same results as before. So...I tried turning off softupdates with tunefs -n disable; fsck'ing; quotachecking again, and again, same results. Thanks for reading this far, if you haven't given up yet, hopefully you can help me. I really don't know what is going on, and after searching the archives I turned up nothing helpful. Is there something about Softupdates, and quotas? dmesg and fstab are at http://www.msu.edu/~muk/thompson/ Is my disk just hosed? If so, why isn't fsck saying anything? Any help would be greatly appreciated. Thanks in advance, ./muk -- m. kolb To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message