[Bug 256582] ZFS unable to attach/replace disk to the mirror/raidz

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 14 Jun 2021 08:13:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256582

--- Comment #2 from Sergei Masharov <serzh@expir.org> ---
a have tried attach and replace on old pool.
And after migration to the new one only replace is possible
It seems that some error have migrated to the new pool after send/receive

# zdb -l /dev/ada0s1
------------------------------------
LABEL 0
------------------------------------
    version: 5000
    name: 't1'
    state: 0
    txg: 1975
    pool_guid: 6410165186213320141
    errata: 0
    hostname: 'proxy.expir.org'
    top_guid: 7617222505941286006
    guid: 8241112573820439777
    vdev_children: 1
    vdev_tree:
        type: 'raidz'
        id: 0
        guid: 7617222505941286006
        nparity: 1
        metaslab_array: 256
        metaslab_shift: 30
        ashift: 9
        asize: 171779817472
        is_log: 0
        create_txg: 4
        children[0]:
            type: 'disk'
            id: 0
            guid: 8241112573820439777
            path: '/dev/ada0s1'
            whole_disk: 1
            DTL: 1111
            create_txg: 4
        children[1]:
            type: 'disk'
            id: 1
            guid: 9546081964875052177
            path: '/dev/ada0s2'
            whole_disk: 1
            DTL: 1110
            create_txg: 4
        children[2]:
            type: 'disk'
            id: 2
            guid: 14962733358913721879
            path: '/dev/ada0s3'
            whole_disk: 1
            DTL: 1109
            create_txg: 4
        children[3]:
            type: 'disk'
            id: 3
            guid: 6900695808444206279
            path: '/dev/ada0s4'
            whole_disk: 1
            DTL: 1108
            create_txg: 4
    features_for_read:
        com.delphix:hole_birth
        com.delphix:embedded_data
    labels = 0 1 2 3

-- 
You are receiving this mail because:
You are the assignee for the bug.