From owner-freebsd-stable@FreeBSD.ORG Mon Oct 20 17:26:10 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C5721065676 for ; Mon, 20 Oct 2008 17:26:10 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.delphij.net (delphij-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:2c9::2]) by mx1.freebsd.org (Postfix) with ESMTP id E5B738FC17 for ; Mon, 20 Oct 2008 17:26:09 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [211.166.10.233]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.delphij.net (Postfix) with ESMTPS id 18E6128454 for ; Tue, 21 Oct 2008 01:26:09 +0800 (CST) Received: from localhost (tarsier.geekcn.org [211.166.10.233]) by tarsier.geekcn.org (Postfix) with ESMTP id AC0FAEB32D5; Tue, 21 Oct 2008 01:26:08 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([211.166.10.233]) by localhost (mail.geekcn.org [211.166.10.233]) (amavisd-new, port 10024) with ESMTP id B3Tml0uOUvB0; Tue, 21 Oct 2008 01:26:03 +0800 (CST) Received: from charlie.delphij.net (adsl-76-237-33-62.dsl.pltn13.sbcglobal.net [76.237.33.62]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTPSA id 96918EB28F5; Tue, 21 Oct 2008 01:26:02 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=b6BkNZvhebP3PyIurY4FuN1iGIr7p2iXu9Pfk2TsIHXp6fwX5VWW+dh0qNRyJdn4e xkiLk7Wp/6H+gG2yvC/BA== Message-ID: <48FCBF27.8050708@delphij.net> Date: Mon, 20 Oct 2008 10:25:59 -0700 From: Xin LI Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.17 (X11/20080928) MIME-Version: 1.0 To: JoaoBR References: <200810171530.45570.joao@matik.com.br> <48F8DE52.9060608@delphij.net> <200810200833.10307.joao@matik.com.br> In-Reply-To: <200810200833.10307.joao@matik.com.br> X-Enigmail-Version: 0.95.7 OpenPGP: id=18EDEBA0; url=http://www.delphij.net/delphij.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, d@delphij.net Subject: Re: constant zfs data corruption X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2008 17:26:10 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 JoaoBR wrote: > On Friday 17 October 2008 15:49:54 Xin LI wrote: [...] >>> some idea? >> For ZFS: I think you need to remove these file. ZFS scrub does not >> recover file if you don't have redundant, e.g. copies=2 or raid-z, etc. > > ok I see, I discovered this but should the machine crash when scrub reach the > damaged file? I am just confused regarding to your issue. If it's an on-disk (physical) problem then I'd replace the disk. If not, for instance, you duplicated the contents of the disk to another and then do 'zpool scrub' on it and discovered the errors, then we will face one of the two scenarios: - If you don't remove the file and access it, you will get EIO but no data would be read. - If you remove the files then the place would eventually get overwritten. Both case does not lead to a panic, but the first case *could* crash your application if it is not well designed to handle I/O errors. >> For the data corruption itself: I think this is highly critical issue >> if you are sure that the hardware is good. What controller and disk are >> you using? > > disks are most seagate or maxtor sata-2 250G new, max 6 month old > the Sata controller are mostly Nvidia as MCP51, MCP61, CK804 I have little experience with nVidia controllers since I almost use Intel controllers exclusively... Perhaps you can try installing sysutils/smartmontools and see if there is some SMART errors? Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkj8vycACgkQi+vbBBjt66BuegCeK/J0r56E1dhkL3SUpIKZ5kPH TtMAniBBBSNmzitVipyEs5xvz8327BI6 =iUet -----END PGP SIGNATURE-----