From owner-freebsd-fs@FreeBSD.ORG Fri Aug 24 11:33:53 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 85336106566C; Fri, 24 Aug 2012 11:33:53 +0000 (UTC) (envelope-from cheeky.m@live.com) Received: from bay0-omc1-s15.bay0.hotmail.com (bay0-omc1-s15.bay0.hotmail.com [65.54.190.26]) by mx1.freebsd.org (Postfix) with ESMTP id 6A6528FC08; Fri, 24 Aug 2012 11:33:53 +0000 (UTC) Received: from BAY170-W113 ([65.54.190.60]) by bay0-omc1-s15.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 24 Aug 2012 04:32:47 -0700 Message-ID: X-Originating-IP: [209.6.82.6] From: Roger Hammerstein To: Date: Fri, 24 Aug 2012 07:32:47 -0400 Importance: Normal In-Reply-To: <50365D73.9020508@FreeBSD.org> References: , <5034DA84.8050507@FreeBSD.org>, , <5035E335.4010103@FreeBSD.org>, , <50363F14.5080703@FreeBSD.org>, , <50365134.9080702@FreeBSD.org>, , <50365D73.9020508@FreeBSD.org> MIME-Version: 1.0 X-OriginalArrivalTime: 24 Aug 2012 11:32:47.0555 (UTC) FILETIME=[2FAA0930:01CD81EC] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-fs@freebsd.org Subject: RE: panic while zfs scrubbing 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: Fri, 24 Aug 2012 11:33:53 -0000 > Thank you for this data. > Please see if the following patch may help you. >=20 > --- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_scan.c > +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_scan.c > @@ -801=2C7 +801=2C7 @@ dsl_scan_visitbp(blkptr_t *bp=2C const zbookmark_= t *zb=2C > if (dsl_scan_check_resume(scn=2C dnp=2C zb)) > return=3B >=20 > - if (bp->blk_birth =3D=3D 0) > + if (bp->blk_birth =3D=3D 0 || BP_GET_TYPE(bp) =3D=3D DMU_OT_NONE) > return=3B >=20 > scn->scn_visited_this_txg++=3B it worked to get through an entire scrub. zpool status -v zzzz pool: zzzz 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://illumos.org/msg/ZFS-8000-8A scan: scrub repaired 135K in 3h46m with 4 errors on Thu Aug 23 17:14:50 2= 012 config: NAME STATE READ WRITE CKSUM zzzz ONLINE 0 0 4 raidz2-0 ONLINE 0 0 8 ada3 ONLINE 0 0 0 ada7 ONLINE 0 0 4 ada6 ONLINE 0 0 0 ada9 ONLINE 0 0 0 ada4 ONLINE 0 0 0 ada2 ONLINE 0 0 2 ada5 ONLINE 0 0 0 errors: Permanent errors have been detected in the following files: I started a second scrub. =