From owner-freebsd-fs@FreeBSD.ORG Sat Jan 23 22:15:13 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 78119106566C for ; Sat, 23 Jan 2010 22:15:13 +0000 (UTC) (envelope-from rincebrain@gmail.com) Received: from mail-fx0-f226.google.com (mail-fx0-f226.google.com [209.85.220.226]) by mx1.freebsd.org (Postfix) with ESMTP id 088188FC19 for ; Sat, 23 Jan 2010 22:15:12 +0000 (UTC) Received: by fxm26 with SMTP id 26so2278019fxm.13 for ; Sat, 23 Jan 2010 14:15:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=kdq88iTthHfVPYnhGJUJqfQtFPVHYV6rh1MYaHVDMmE=; b=mOPj28SrQwN85z+/k6oF61otJsrXNAa33EaYI5ubjjsx4qSHgIO5J2XEKGQeC12KRy u5Mi2SxdGxJU7kWOmQOkl4cl0ElPRHLyRligNQeBfmsEh0jIhRgHJnD3iBGuM3dVk39l yAECo+UTyjmtHeBM1qC3Pd8AbCIvDTeXL4duM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=AUTagrvKu3uXYkrrixjjOKkWkFqmjwtZUihdIG8CAoqLk5N03kIjoaDDy4yT3xxE5r aF3TuKZ8exWXe3VE76PNWP0DdIRr4Bt/D4bvrimQEFowm9zaEdv8s4ulsySaHwrO+TzM xgnEFwQfHDMzXwEd3IEZbMH+WGrUVD8nU8APw= MIME-Version: 1.0 Received: by 10.239.166.7 with SMTP id z7mr486585hbd.23.1264284911799; Sat, 23 Jan 2010 14:15:11 -0800 (PST) In-Reply-To: References: <5da0588e1001222223m773648am907267235bdcf882@mail.gmail.com> <5da0588e1001230014k1b8a32f8v42046497265429ed@mail.gmail.com> Date: Sat, 23 Jan 2010 17:15:11 -0500 Message-ID: <5da0588e1001231415t403f29ceq6e8dcd16edb4a28@mail.gmail.com> From: Rich To: Wes Morgan Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-fs Subject: Re: Errors on a file on a zpool: How to remove? 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: Sat, 23 Jan 2010 22:15:13 -0000 On Sat, Jan 23, 2010 at 4:21 PM, Wes Morgan wrote: > On Sat, 23 Jan 2010, Rich wrote: > >> I already diagnosed the bad hardware - one of the two sticks of RAM >> had gone bad, and fails memtest in the other machine. >> >> =A0 pool: rigatoni >> =A0state: ONLINE >> status: One or more devices has experienced an error resulting in data >> =A0 =A0 =A0 corruption. =A0Applications may be affected. >> action: Restore the file in question if possible. =A0Otherwise restore t= he >> =A0 =A0 =A0 entire pool from backup. >> =A0 =A0see: http://www.sun.com/msg/ZFS-8000-8A >> =A0scrub: scrub completed after 15h28m with 1 errors on Thu Jan 21 18:09= :25 2010 >> config: >> >> =A0 =A0 =A0 NAME =A0 =A0 =A0 =A0STATE =A0 =A0 READ WRITE CKSUM >> =A0 =A0 =A0 rigatoni =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 =A0 1 >> =A0 =A0 =A0 =A0 da4 =A0 =A0 =A0 ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 =A0 2 >> =A0 =A0 =A0 =A0 da5 =A0 =A0 =A0 ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 =A0 2 >> =A0 =A0 =A0 =A0 da7 =A0 =A0 =A0 ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 =A0 0 >> =A0 =A0 =A0 =A0 da6 =A0 =A0 =A0 ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 =A0 0 >> =A0 =A0 =A0 =A0 da2 =A0 =A0 =A0 ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 =A0 2 >> >> errors: Permanent errors have been detected in the following files: >> >> =A0 =A0 =A0 =A0 rigatoni/mirrors:<0x0> > > Can you post your entire pool filesystem structure? That message above > looks like an unreferenced block or corrupted metadata rather than an > actual file. Also, if it's part of a snapshot, you simply have to destroy > the snapshot. > > I had a pool become corrupted due to bad memory, and all of the files wer= e > still able to be manipulated. The only time EIO popped up was on the > specific block that had a checksum error. # zfs list -r -t all rigatoni NAME USED AVAIL REFER MOUNTPOINT rigatoni 5.73T 984G 19K /rigatoni rigatoni/logs_bitch 269M 984G 269M /rigatoni/logs_bitch rigatoni/mirrors 5.73T 984G 5.73T /mirrors No snapshots here. :/ EIO only pops up on the files I mentioned above - everything else in those directories, including renaming that directory, is fine. - Rich