From owner-freebsd-fs@FreeBSD.ORG Tue Jul 27 17:23:03 2010 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 C33CB1065692 for ; Tue, 27 Jul 2010 17:23:03 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 1CF068FC1C for ; Tue, 27 Jul 2010 17:23:02 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id UAA17534 for ; Tue, 27 Jul 2010 20:23:00 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <4C4F15F3.5070508@icyb.net.ua> Date: Tue, 27 Jul 2010 20:22:59 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.24 (X11/20100517) MIME-Version: 1.0 To: freebsd-fs@FreeBSD.org References: <4C4EF8A4.1060603@icyb.net.ua> In-Reply-To: <4C4EF8A4.1060603@icyb.net.ua> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Subject: Re: strange zfs pool status/error 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: Tue, 27 Jul 2010 17:23:03 -0000 on 27/07/2010 18:17 Andriy Gapon said the following: > $ zpool status -v > pool: pond > 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 > pond ONLINE 0 0 0 > mirror ONLINE 0 0 0 > gptid/fcf3558b-493b-11de-a8b9-001cc08221ff ONLINE 0 0 0 > gptid/48782c6e-8fbd-11de-b3e1-00241d20d446 ONLINE 0 0 0 > > errors: Permanent errors have been detected in the following files: > > /usr/src/cscope.out zpool scrub cleared the error. I am relieved, but still not a nice incident. > I don't see any errors or suspicious messages in any logs. > The file in question is perfectly readable (produces stable md5 checksum without > any errors) and apparently is not too (or at all) corrupt - cscope still works > fine with it. > All vdevs are online and there are no vdev errors. > > So what does all this mean and how it can happen? > In other words, why/how did ZFS decide that that file is corrupted? > -- Andriy Gapon