From owner-freebsd-questions@FreeBSD.ORG Thu Nov 1 08:05:28 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F94C16A419 for ; Thu, 1 Nov 2007 08:05:28 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id 328C713C4A8 for ; Thu, 1 Nov 2007 08:05:27 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.8/8.13.8) with ESMTP id l9VFj68q004771; Wed, 31 Oct 2007 10:45:08 -0500 (CDT) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20071031104139.02375e40@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Wed, 31 Oct 2007 10:44:44 -0500 To: Dudley , freebsd-questions@freebsd.org From: Derek Ragona In-Reply-To: <9fcbf7d0710300633r5a5abfdbh4cba86eae4352196@mail.gmail.com > References: <9fcbf7d0710300633r5a5abfdbh4cba86eae4352196@mail.gmail.com> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: fsck failing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 08:05:28 -0000 At 08:33 AM 10/30/2007, Dudley wrote: >Note: If there's a more appropriate mailing list, please let me know. > >I've been running a FreeBSD 4.11 installation for a couple of years without >issue. Unfortunately, one of the drives on the 3Ware Escalada 8500 RAID >array died leaving the array in a degraded state. The drive likely died in >an outage which also corrupted the filesystem. That said, the FreeBSD >install is still able to boot until it attempts to mount the filesystem. > >During the boot process, I get the following error: > >Can't stat /dev/twed0s1a: Bad file Descriptor >Can't stat /dev/twed0s1a: Bad file Descriptor >/dev/twed0s1a: CAN"T CHECK FILE SYSTEM >/dev/twed0s1a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY > >It drops me in to single user mode allowing me to run fsck. If I run just >fsck then, it runs successfully but doesn't check twed0s1a which means on >reboot the problem is still there. If I force fsck on that partition by >running `fsck /dev/twed0s1a` then I get the same errors as above. > >Please let me know what other steps I should take to get the system booting >again. > >Thanks in advance, Your /etc/fstab has that filesystem marked for a later secondary fsck run, not the primary one. You can run fsck manually on any filesystem, just specify that on the fsck commandline. fsck works better when the system is in single user mode, on non-mounted filesystems. If fsck cannot fix errors, run diagnostics from the hard drive manufacturer on the hard drive(s) as they are likely failing. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support.