From owner-freebsd-fs@FreeBSD.ORG Mon Jul 20 21:32:30 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 102AA106566B for ; Mon, 20 Jul 2009 21:32:30 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 9083B8FC0A for ; Mon, 20 Jul 2009 21:32:29 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MT0TC-0005xQ-CM for freebsd-fs@freebsd.org; Mon, 20 Jul 2009 21:32:26 +0000 Received: from 93-138-40-205.adsl.net.t-com.hr ([93.138.40.205]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Jul 2009 21:32:26 +0000 Received: from ivoras by 93-138-40-205.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Jul 2009 21:32:26 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-fs@freebsd.org From: Ivan Voras Date: Mon, 20 Jul 2009 23:32:05 +0200 Lines: 67 Message-ID: References: <4A646DA8.2050201@acm.poly.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD4C76C2F41AE6E49D58375DE" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 93-138-40-205.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) In-Reply-To: <4A646DA8.2050201@acm.poly.edu> X-Enigmail-Version: 0.96.0 Sender: news Subject: Re: geom_mirror/UFS weirdness with 7.2-STABLE X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jul 2009 21:32:30 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD4C76C2F41AE6E49D58375DE Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Boris Kochergin wrote: > Ahoy. I noticed some very odd things in my file server's kernel buffer > this morning (there were actually a ton of these--this is a snippet): >=20 > Jul 20 05:54:10 exodus smartd[763]: Device: /dev/ad1, FAILED SMART > self-check. BACK UP DATA NOW! > Jul 20 05:57:57 exodus kernel: > g_vfs_done():mirror/boots1[READ(offset=3D-4569735194538825728, > length=3D16384)]error =3D 5 > Jul 20 05:57:57 exodus kernel: bad block 8806809555123731765, ino 44306= 20 > Jul 20 05:57:57 exodus kernel: pid 35 (softdepflush), uid 0 inumber > 4430620 on /: bad block >=20 > # df / > Filesystem 1K-blocks Used Avail > Capacity Mounted on > /dev/mirror/boots1 37846636 -4058799239201906816 4058799239236725722 > -11656883301279% / >=20 > The system is a: >=20 > # uname -a > FreeBSD exodus.poly.edu 7.2-STABLE FreeBSD 7.2-STABLE #3: Sat Jul 11 > 16:22:02 EDT 2009 root@exodus.poly.edu:/usr/obj/usr/src/sys/EXODUS = > amd64 >=20 > Regarding smartd yelling at me about /dev/ad1, it's been doing that for= > long while before this. There is one sector on the drive that cannot be= > read, but the disk has otherwise been fine for months. My experience > with geom_mirror has been that it disconnects members from an array if > they experience I/O errors, so this seems to be something different. An= y > clues? It looks like the drive returned corrupted data without returning an error - which is strange, but not impossible. You are probably seeing numbers like -4058799239201906816 because some metadata is corrupted. If so, you should immediately disconnect the problematic drive so that the errorneous data isn't picked up and written to the good drive. --------------enigD4C76C2F41AE6E49D58375DE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkpk4lUACgkQldnAQVacBcg9YgCg4gENDmV+VS0OePXe/bglQSle iOEAoK3LBtdXGaOXBTwbwb3YF3v8+G5h =Grl1 -----END PGP SIGNATURE----- --------------enigD4C76C2F41AE6E49D58375DE--