From owner-freebsd-fs@FreeBSD.ORG Mon Nov 24 20:41:44 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D462A3DD for ; Mon, 24 Nov 2014 20:41:44 +0000 (UTC) Received: from mail-oi0-x229.google.com (mail-oi0-x229.google.com [IPv6:2607:f8b0:4003:c06::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 963ABEA3 for ; Mon, 24 Nov 2014 20:41:44 +0000 (UTC) Received: by mail-oi0-f41.google.com with SMTP id a3so7335603oib.0 for ; Mon, 24 Nov 2014 12:41:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=jcf8pdX+WRXwngG2GfG4vzMiBKsypZ0lqnHpdTV/XmM=; b=N59M38VhcWiM6JdiF/B62QWU3CeinN7CQV/NpaZDMIzS4aiC2DYliFEnPwCv3o4peY 4RK+TZl21wpDw9Zqmo2WgqcntD+y2Etc+AYWZjruhnitElRfvdlgxRiAeF+/trPp1OXc j+N+87/hkXSasNW8vZ0GAMaa/6FdNQcelcw9j5pWnqy6gJG9t4CP//OSmTd5v/tCVmvK tEXbMQJEj7T2zGSIgFeHZcWE1aa52A4k/dyfMSFuzIGrDsnu2oqD3z7d6h/uQRAjvYNm FSo0bPWiR+paiH1RguIjfwRnmj649/rkGrJ4SkIwYqsWQpu3fOgqY34x53wy2wHi0qJM u66A== MIME-Version: 1.0 X-Received: by 10.182.65.105 with SMTP id w9mr12859232obs.60.1416861703882; Mon, 24 Nov 2014 12:41:43 -0800 (PST) Received: by 10.76.0.138 with HTTP; Mon, 24 Nov 2014 12:41:43 -0800 (PST) In-Reply-To: References: Date: Mon, 24 Nov 2014 15:41:43 -0500 Message-ID: Subject: Re: What does it mean when zdb -R x:xxx:xxx:g crashes? From: Zaphod Beeblebrox To: freebsd-fs Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Nov 2014 20:41:44 -0000 I have retried this on a brand new pool with a brand new filesystem containing one file. zdb -R x:xxx:xxx:g <--- ie: retrieve the gang block header crashes. It also crashes with -A -AA and -AAA (which are supposed to prevent assertions from stopping the debugger). Help? On Mon, Nov 24, 2014 at 2:40 PM, Zaphod Beeblebrox wrote: > So... another barrier in figuring out my zfs problem is that zdb crashes > when asked to print the gang block header: > > [1:97:397]root@virtual:/vr1/tmp/diag> zdb -AAA -R vr2 > 0:94048dc9000:24000:g > Found vdev type: raidz > Assertion failed: (zio->io_error == 0 || (zio->io_flags & > ZIO_FLAG_CANFAIL)), file > /usr/src/cddl/lib/libzpool/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c, > line 3297. > Abort trap (core dumped) > > Now... this trace looks odd to me: there are no bookmarks in the > filesystem... neither are there snapshots for this specific filesystem. > > (gdb) bt > #0 0x0000000801cb26ca in thr_kill () from /lib/libc.so.7 > #1 0x0000000801d87149 in abort () from /lib/libc.so.7 > #2 0x0000000801920e21 in zio_init () from /lib/libzpool.so.2 > #3 0x0000000801927e0e in zbookmark_is_before () from /lib/libzpool.so.2 > #4 0x0000000801922df7 in zio_execute () from /lib/libzpool.so.2 > #5 0x0000000801927f11 in zbookmark_is_before () from /lib/libzpool.so.2 > #6 0x0000000801922df7 in zio_execute () from /lib/libzpool.so.2 > #7 0x0000000801927f11 in zbookmark_is_before () from /lib/libzpool.so.2 > #8 0x0000000801922df7 in zio_execute () from /lib/libzpool.so.2 > #9 0x0000000801927f11 in zbookmark_is_before () from /lib/libzpool.so.2 > #10 0x0000000801922df7 in zio_execute () from /lib/libzpool.so.2 > #11 0x0000000801927f11 in zbookmark_is_before () from /lib/libzpool.so.2 > #12 0x0000000801922df7 in zio_execute () from /lib/libzpool.so.2 > #13 0x000000080191b8d9 in taskq_create () from /lib/libzpool.so.2 > #14 0x0000000800e814f5 in pthread_create () from /lib/libthr.so.3 > #15 0x00007ffff6fb9000 in ?? () > Cannot access memory at address 0x7ffff71b9000 > > Help? >