From owner-freebsd-stable@FreeBSD.ORG Fri Oct 17 18:50:04 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 956B61065694 for ; Fri, 17 Oct 2008 18:50:04 +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 3C1808FC12 for ; Fri, 17 Oct 2008 18:50:04 +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 6EAA728449 for ; Sat, 18 Oct 2008 02:50:03 +0800 (CST) Received: from localhost (tarsier.geekcn.org [211.166.10.233]) by tarsier.geekcn.org (Postfix) with ESMTP id 1D180EB21F1; Sat, 18 Oct 2008 02:50:03 +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 ZyTPOFpKYhKm; Sat, 18 Oct 2008 02:49:57 +0800 (CST) Received: from charlie.delphij.net (c-76-103-40-85.hsd1.ca.comcast.net [76.103.40.85]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTPSA id E6801EB1E92; Sat, 18 Oct 2008 02:49:56 +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=w/1T/VZiz+kV+WfKIPl9rrRV7iF7po+GzHMWetxGQtT9m7dgH6jCxRDN1LPV5sAW8 mk2f/yAIz5+DByTEI0OFg== Message-ID: <48F8DE52.9060608@delphij.net> Date: Fri, 17 Oct 2008 11:49:54 -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> In-Reply-To: <200810171530.45570.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: 8bit Cc: freebsd-stable@freebsd.org 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: Fri, 17 Oct 2008 18:50:04 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 JoaoBR wrote: > Hi > > constantly I find data corruption on ZFS volums, ever from rrdtool, this > corrupt data happens on SATA disks, never seem on SCSI > > scrub is not able to repair, when comes to touch this files machines reboots, > deleting and restorin also is not possíble, seems I need to delete the files, > umount, scrub and mount again to clear it > > # zpool status -v os > pool: os > state: ONLINE > status: One or more devices has experienced an error resulting in data > corruption. Applications may be affected. > action: Restore the file in question if possible. Otherwise restore the > entire pool from backup. > see: http://www.sun.com/msg/ZFS-8000-8A > scrub: none requested > config: > > NAME STATE READ WRITE CKSUM > os ONLINE 0 0 0 > ad4s1d ONLINE 0 0 0 > > errors: Permanent errors have been detected in the following files: > > /usr/local/www/data-dist/monitor/wip_diskio.rrd > /usr/local/www/data-dist/monitor/200.152.90.12mon.rrd > > 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. 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? Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkj43lEACgkQi+vbBBjt66BNlwCgpQ366XxVb6Tj5OYPDxJ7IA58 NZAAn194V1ypUWWsOfPhCxUyCSVSSUf2 =R7QE -----END PGP SIGNATURE-----