From owner-freebsd-stable@FreeBSD.ORG Mon Oct 20 11:36:41 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 B6B57106566B for ; Mon, 20 Oct 2008 11:36:41 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.153.48.3]) by mx1.freebsd.org (Postfix) with ESMTP id 2441D8FC18 for ; Mon, 20 Oct 2008 11:36:40 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from [10.10.2.2] (189-19-2-198.dsl.telesp.net.br [189.19.2.198]) by msrv.matik.com.br (8.14.2/8.14.2) with ESMTP id m9KBYkoE041005; Mon, 20 Oct 2008 09:34:47 -0200 (BRST) (envelope-from joao@matik.com.br) From: JoaoBR Organization: Infomatik To: d@delphij.net Date: Mon, 20 Oct 2008 08:33:10 -0200 User-Agent: KMail/1.9.7 References: <200810171530.45570.joao@matik.com.br> <48F8DE52.9060608@delphij.net> In-Reply-To: <48F8DE52.9060608@delphij.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200810200833.10307.joao@matik.com.br> X-Spam-Status: No, score=2.2 required=5.0 tests=ALL_TRUSTED,AWL, BR_RECEIVED_SPAMMER, SARE_RECV_SPAM_DOMN02, TW_ZF autolearn=no version=3.2.5 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on msrv.matik.com.br X-Virus-Scanned: ClamAV 0.93.3/8447/Sun Oct 19 23:51:02 2008 on msrv.matik.com.br X-Virus-Status: Clean 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 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 11:36:41 -0000 On Friday 17 October 2008 15:49:54 Xin LI wrote: > 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=EDble, 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=3D2 or raid-z, etc. > ok I see, I discovered this but should the machine crash when scrub reach t= he=20 damaged file? > 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 thank's =2D-=20 Jo=E3o A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br