[OmniOS-discuss] zfs recv assertion failed when scrubbing source pool

Lauri Tirkkonen lotheac at iki.fi
Fri Mar 4 12:17:48 UTC 2016


On Thu, Oct 08 2015 10:59:20 +0300, Lauri Tirkkonen wrote:
>     Assertion failed: ilen <= SPA_MAXBLOCKSIZE, file ../common/libzfs_sendrecv.c, line 1706, function recv_read

I have a repro of this now: a 17MB incremental replication stream, which
coredumps 'zfs recv' (even when used with -n), on OmniOS r151014 and
bloody alike. The filesystem in question is large, contains sensitive
data, and has 162 child filesystems. The snapshots between which the
incremental stream was generated were taken recursively.

mdb has this to say:

    > $c
    libc.so.1`_lwp_kill+7(1, 6, 80467b8, fee91cdd, fef63000, 8046810)
    libc.so.1`raise+0x22(6, 0, 80467f8, fee6edb9)
    libc.so.1`abort+0xf3(8046810, 8046810, 6c, fed732cc, 65737341, 6f697472)
    libc.so.1`_assert(fedabf16, fedabefa, 7a3, feda93ad)
    libzfs.so.1`recv_read+0x3d(80a4548, 0, 80a7008, 1140fbc, 0, 8047390)
    libzfs.so.1`recv_read_nvlist+0x4a(80a4548, 0, 1140fbc, 804722c, 0,
    8047390)
    libzfs.so.1`zfs_receive_package+0x100(80a4548, 0, 8047d9c, 8047bec,
    80478e8, 8047390)
    libzfs.so.1`zfs_receive_impl+0x527(80a4548, 8047d9c, 0, 8047bec, 0, 0)
    libzfs.so.1`zfs_receive+0xc3(80a4548, 8047d9c, 80a1f88, 8047bec, 0, 0)
    zfs_do_receive+0x3dd(3, 8047cb0, 80768a0, 801, 0, 3)
    main+0x22c(fee10180, fef6d6a8, 8047ca0, 80557f7, 4, 8047cac)
    _start+0x83(4, 8047d90, 8047d94, 8047d99, 8047d9c, 0)

and zstreamdump reports:

    SUMMARY:
            Total DRR_BEGIN records = 164
            Total DRR_END records = 165
            Total DRR_OBJECT records = 0
            Total DRR_FREEOBJECTS records = 0
            Total DRR_WRITE records = 0
            Total DRR_WRITE_BYREF records = 0
            Total DRR_WRITE_EMBEDDED records = 0
            Total DRR_FREE records = 0
            Total DRR_SPILL records = 0
            Total records = 329
            Total write size = 0 (0x0)
            Total stream length = 18194612 (0x115a0b4)


Because there is sensitive data involved, I'm reluctant to share either the
core or the stream, but would appreciate any cluebats. Thanks.

-- 
Lauri Tirkkonen | lotheac @ IRCnet


More information about the OmniOS-discuss mailing list