From owner-freebsd-stable@FreeBSD.ORG Mon Apr 19 08:51:30 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1653F16A4CE for ; Mon, 19 Apr 2004 08:51:30 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7F1C43D49 for ; Mon, 19 Apr 2004 08:51:28 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i3JFpGxi050696 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 19 Apr 2004 16:51:16 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i3JFpGTu050695; Mon, 19 Apr 2004 16:51:16 +0100 (BST) (envelope-from matthew) Date: Mon, 19 Apr 2004 16:51:16 +0100 From: Matthew Seaman To: Ollie Cook Message-ID: <20040419155116.GA50490@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Ollie Cook , freebsd-stable@freebsd.org References: <20040418211852.GA67452@mutare.noc.clara.net> <20040419140516.GL5039@mutare.noc.clara.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="M9NhX3UHpAaciwkO" Content-Disposition: inline In-Reply-To: <20040419140516.GL5039@mutare.noc.clara.net> User-Agent: Mutt/1.5.6i X-Virus-Scanned: clamd / ClamAV version devel-20040416, clamav-milter version 0.70g X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-stable@freebsd.org Subject: Re: filesystem corruption with 1TB filesystem, 4.9-STABLE, twe X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 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, 19 Apr 2004 15:51:30 -0000 --M9NhX3UHpAaciwkO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 19, 2004 at 03:05:16PM +0100, Ollie Cook wrote: > I have some further details which I hope might shed some more light on th= is > problem. Accessing some files which appear (from a directory listing for > example) to have been stored correctly results in 'Bad file descriptor'. = This > is with a freshly checked and clean filesystem. >=20 > I say 'clean', but after fsck declares it clean, another pass through fsc= k will > diagnose further errors. This is without mounting the filesystem between > passes. >=20 > I ran a few simple tests and was able to ascertain that the open(2) and r= ead(2) > system calls don't return errors but fstat(2) does return EBADF. >=20 > su-2.05b# ls | grep 1071701821.78602.aether.uk.clara.net > 1071701821.78602.aether.uk.clara.net > su-2.05b# ls 1071701821.78602.aether.uk.clara.net > ls: 1071701821.78602.aether.uk.clara.net: Bad file descriptor >=20 > Any assistance in diagnosing this would be greatly appreciated. Can you rule out hardware problems by substituting in a different known good 3-ware card? Last time I saw anything like this was an IO controller chip going marginal through overheating under heavy load and flipping occasional bits on disk block addresses. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --M9NhX3UHpAaciwkO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAg/V0dtESqEQa7a0RAnr6AJwPBUEtmkjIN98UZBPNzy9frhjQ1wCgl8VR q4i3PnsqtQKXTBBML0iL00I= =wmM2 -----END PGP SIGNATURE----- --M9NhX3UHpAaciwkO--