Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Apr 2004 16:51:16 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Ollie Cook <ollie@uk.clara.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: filesystem corruption with 1TB filesystem, 4.9-STABLE, twe
Message-ID:  <20040419155116.GA50490@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <20040419140516.GL5039@mutare.noc.clara.net>
References:  <20040418211852.GA67452@mutare.noc.clara.net> <20040419140516.GL5039@mutare.noc.clara.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040419155116.GA50490>