Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jun 2009 16:54:54 +0200 (CEST)
From:      Ulrich Spoerlein <uqs@spoerlein.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        kmacy@FreeBSD.org
Subject:   bin/135314: [zfs] assertion failed for zdb(8) usage
Message-ID:  <200906061454.n56EssWN000469@coyote.spoerlein.net>
Resent-Message-ID: <200906061500.n56F0F2J035525@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         135314
>Category:       bin
>Synopsis:       [zfs] assertion failed for zdb(8) usage
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 06 15:00:15 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Ulrich Spoerlein
>Release:        FreeBSD 7.2-STABLE i386
>Organization:
>Environment:
7.2-STABLE updated/built late May, following zpool:

root@coyote:~# zdb
tank
    version=13
    name='tank'
    state=0
    txg=7697828
    pool_guid=703138832090335500
    hostid=2892912347
    hostname='unset'
    vdev_tree
        type='root'
        id=0
        guid=703138832090335500
        children[0]
                type='mirror'
                id=0
                guid=3091292675388649821
                metaslab_array=14
                metaslab_shift=30
                ashift=12
                asize=1000199946240
                is_log=0
                children[0]
                        type='disk'
                        id=0
                        guid=4881503163781172225
                        path='/dev/ad4.eli'
                        whole_disk=0
                        DTL=97
                children[1]
                        type='disk'
                        id=1
                        guid=12333765091756463941
                        path='/dev/da0.eli'
                        whole_disk=0
                        DTL=96
                        offline=1


>Description:
I read the post about deduplication at
http://blogs.sun.com/erickustarz/entry/how_dedupalicious_is_your_pool which
comes with a sample zdb(8) invocation which fails on FreeBSD 7.2
>How-To-Repeat:
root@coyote:~# zdb -L -S user:all tank | tee /tmp/tank_out.txt
Assertion failed: (��), function rwlp->rw_count == 0, file /usr/src/cddl/lib/libzpool/../../../cddl/contrib/opensolaris/lib/libzpool/common/kernel.c, line 195.
Abort (core dumped)
Exit 134

Fiddling with simple options like -u makes it core dump, too.

Someone should try this on 8-CURRENT to figure out if this is a MFC artefact.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906061454.n56EssWN000469>