Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 May 2016 07:32:41 -0700
From:      Evgeny Sam <esamorokov@gmail.com>
To:        BlackCat <blackcatzilla@gmail.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: ZFS - RAIDZ1 Recovery (Evgeny Sam)
Message-ID:  <CABDVK=4RFv3nqyg2DEWQppM%2Bn%2BmL66v5yMKW45r89d3Y=4=W-w@mail.gmail.com>
In-Reply-To: <CAD-rSecgU6KsXzPkLYSz1r9KsBoXHwybjNTyXimRF2UDFOLTbA@mail.gmail.com>
References:  <CABDVK=6-zxo-HyG6LwmVAaouO5ZoiSuAhAYoszX9FMoK2qb_Qw@mail.gmail.com> <CAD-rSedwn9GJ1MMBmfcMXPZ7yvpkC9FkAo4_Zgmwi%2BT39CnM0g@mail.gmail.com> <CABDVK=77zb7g=GtCpv0nUe6nBwf2GWWPHpEu1KGfC49SU4kiiA@mail.gmail.com> <CAD-rSecgU6KsXzPkLYSz1r9KsBoXHwybjNTyXimRF2UDFOLTbA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
[root@juicy] ~# zdb -e zh_vol
zh_vol
        vdev_children: 1
        version: 5000
        pool_guid: 2918670121059000644
        name: 'zh_vol'
        state: 0
        hostid: 1802987710
        hostname: 'juicy.zhelana.local'
        vdev_tree:
            type: 'root'
            id: 0
            guid: 2918670121059000644
            children[0]:
                type: 'raidz'
                id: 0
                guid: 14123440993587991088
                nparity: 1
                metaslab_array: 34
                metaslab_shift: 36
                ashift: 12
                asize: 8995321675776
                is_log: 0
                create_txg: 4
                children[0]:
                    type: 'disk'
                    id: 0
                    guid: 17624020450804741401
                    path: '/dev/gptid/6e5cea27-7f52-11e3-9cd8-d43d7ed5b587'
                    whole_disk: 1
                    DTL: 137
                    create_txg: 4
                children[1]:
                    type: 'disk'
                    id: 1
                    guid: 3253299067537287428
                    whole_disk: 1
                    DTL: 133
                    create_txg: 4
                    path: '/dev/gptid/2b70d9c0-8e40-11e3-aa1c-d43d7ed5b587'
                children[2]:
                    type: 'disk'
                    id: 2
                    guid: 17999524418015963258
                    whole_disk: 1
                    DTL: 134
                    create_txg: 4
                    path: '/dev/gptid/5dacd737-18ac-11e6-9c25-001b7859b93e'
zh_vol
        vdev_children: 2
        version: 5000
        pool_guid: 10149654347507244742
        name: 'zh_vol'
        state: 2
        hostid: 1802987710
        hostname: 'juicy.zhelana.local'
        vdev_tree:
            type: 'root'
            id: 0
            guid: 10149654347507244742
            children[0]:
                type: 'disk'
                id: 0
                guid: 5892508334691495384
                whole_disk: 1
                metaslab_array: 33
                metaslab_shift: 23
                ashift: 12
                asize: 983564288
                is_log: 0
                create_txg: 4
                path: '/dev/ada0s2'
            children[1]:
                type: 'disk'
                id: 1
                guid: 296669430778697937
                whole_disk: 1
                metaslab_array: 37
                metaslab_shift: 34
                ashift: 12
                asize: 2997366816768
                is_log: 0
                create_txg: 1489
                path: '/dev/ada2p2'
zdb:     Matched 2 pools - use pool GUID instead of pool name or
    pool name part of a dataset name to select pool
[root@juicy] ~# zdb -l /dev/ada1p2
--------------------------------------------
LABEL 0
--------------------------------------------
    version: 5000
    name: 'zh_vol'
    state: 0
    txg: 14262416
    pool_guid: 2918670121059000644
    hostid: 1802987710
    hostname: 'juicy.zhelana.local'
    top_guid: 14123440993587991088
    guid: 17999524418015963258
    vdev_children: 1
    vdev_tree:
        type: 'raidz'
        id: 0
        guid: 14123440993587991088
        nparity: 1
        metaslab_array: 34
        metaslab_shift: 36
        ashift: 12
        asize: 8995321675776
        is_log: 0
        create_txg: 4
        children[0]:
            type: 'disk'
            id: 0
            guid: 17624020450804741401
            path: '/dev/gptid/6e5cea27-7f52-11e3-9cd8-d43d7ed5b587'
            whole_disk: 1
            DTL: 137
            create_txg: 4
        children[1]:
            type: 'disk'
            id: 1
            guid: 3253299067537287428
            path: '/dev/gptid/2b70d9c0-8e40-11e3-aa1c-d43d7ed5b587'
            whole_disk: 1
            DTL: 133
            create_txg: 4
        children[2]:
            type: 'disk'
            id: 2
            guid: 17999524418015963258
            path: '/dev/gptid/1e898758-9488-11e3-a86e-d43d7ed5b587'
            whole_disk: 1
            DTL: 134
            create_txg: 4
    features_for_read:
--------------------------------------------
LABEL 1
--------------------------------------------
    version: 5000
    name: 'zh_vol'
    state: 0
    txg: 14262416
    pool_guid: 2918670121059000644
    hostid: 1802987710
    hostname: 'juicy.zhelana.local'
    top_guid: 14123440993587991088
    guid: 17999524418015963258
    vdev_children: 1
    vdev_tree:
        type: 'raidz'
        id: 0
        guid: 14123440993587991088
        nparity: 1
        metaslab_array: 34
        metaslab_shift: 36
        ashift: 12
        asize: 8995321675776
        is_log: 0
        create_txg: 4
        children[0]:
            type: 'disk'
            id: 0
            guid: 17624020450804741401
            path: '/dev/gptid/6e5cea27-7f52-11e3-9cd8-d43d7ed5b587'
            whole_disk: 1
            DTL: 137
            create_txg: 4
        children[1]:
            type: 'disk'
            id: 1
            guid: 3253299067537287428
            path: '/dev/gptid/2b70d9c0-8e40-11e3-aa1c-d43d7ed5b587'
            whole_disk: 1
            DTL: 133
            create_txg: 4
        children[2]:
            type: 'disk'
            id: 2
            guid: 17999524418015963258
            path: '/dev/gptid/1e898758-9488-11e3-a86e-d43d7ed5b587'
            whole_disk: 1
            DTL: 134
            create_txg: 4
    features_for_read:
--------------------------------------------
LABEL 2
--------------------------------------------
failed to unpack label 2
--------------------------------------------
LABEL 3
--------------------------------------------
failed to unpack label 3
[root@juicy] ~# zdb -l /dev/ada2p2
--------------------------------------------
LABEL 0
--------------------------------------------
    version: 5000
    name: 'zh_vol'
    state: 2
    txg: 2057
    pool_guid: 10149654347507244742
    hostid: 1802987710
    hostname: 'juicy.zhelana.local'
    top_guid: 296669430778697937
    guid: 296669430778697937
    vdev_children: 2
    vdev_tree:
        type: 'disk'
        id: 1
        guid: 296669430778697937
        path: '/dev/ada2p2'
        whole_disk: 1
        metaslab_array: 37
        metaslab_shift: 34
        ashift: 12
        asize: 2997366816768
        is_log: 0
        create_txg: 1489
    features_for_read:
--------------------------------------------
LABEL 1
--------------------------------------------
    version: 5000
    name: 'zh_vol'
    state: 2
    txg: 2057
    pool_guid: 10149654347507244742
    hostid: 1802987710
    hostname: 'juicy.zhelana.local'
    top_guid: 296669430778697937
    guid: 296669430778697937
    vdev_children: 2
    vdev_tree:
        type: 'disk'
        id: 1
        guid: 296669430778697937
        path: '/dev/ada2p2'
        whole_disk: 1
        metaslab_array: 37
        metaslab_shift: 34
        ashift: 12
        asize: 2997366816768
        is_log: 0
        create_txg: 1489
    features_for_read:
--------------------------------------------
LABEL 2
--------------------------------------------
    version: 5000
    name: 'zh_vol'
    state: 2
    txg: 2057
    pool_guid: 10149654347507244742
    hostid: 1802987710
    hostname: 'juicy.zhelana.local'
    top_guid: 296669430778697937
    guid: 296669430778697937
    vdev_children: 2
    vdev_tree:
        type: 'disk'
        id: 1
        guid: 296669430778697937
        path: '/dev/ada2p2'
        whole_disk: 1
        metaslab_array: 37
        metaslab_shift: 34
        ashift: 12
        asize: 2997366816768
        is_log: 0
        create_txg: 1489
    features_for_read:
--------------------------------------------
LABEL 3
--------------------------------------------
    version: 5000
    name: 'zh_vol'
    state: 2
    txg: 2057
    pool_guid: 10149654347507244742
    hostid: 1802987710
    hostname: 'juicy.zhelana.local'
    top_guid: 296669430778697937
    guid: 296669430778697937
    vdev_children: 2
    vdev_tree:
        type: 'disk'
        id: 1
        guid: 296669430778697937
        path: '/dev/ada2p2'
        whole_disk: 1
        metaslab_array: 37
        metaslab_shift: 34
        ashift: 12
        asize: 2997366816768
        is_log: 0
        create_txg: 1489
    features_for_read:
[root@juicy] ~# zdb -l /dev/ada3p2
--------------------------------------------
LABEL 0
--------------------------------------------
    version: 5000
    name: 'zh_vol'
    state: 0
    txg: 14106447
    pool_guid: 2918670121059000644
    hostid: 1802987710
    hostname: ''
    top_guid: 14123440993587991088
    guid: 3253299067537287428
    vdev_children: 1
    vdev_tree:
        type: 'raidz'
        id: 0
        guid: 14123440993587991088
        nparity: 1
        metaslab_array: 34
        metaslab_shift: 36
        ashift: 12
        asize: 8995321675776
        is_log: 0
        create_txg: 4
        children[0]:
            type: 'disk'
            id: 0
            guid: 17624020450804741401
            path: '/dev/gptid/6e5cea27-7f52-11e3-9cd8-d43d7ed5b587'
            whole_disk: 1
            DTL: 137
            create_txg: 4
        children[1]:
            type: 'disk'
            id: 1
            guid: 3253299067537287428
            path: '/dev/gptid/2b70d9c0-8e40-11e3-aa1c-d43d7ed5b587'
            whole_disk: 1
            DTL: 133
            create_txg: 4
        children[2]:
            type: 'disk'
            id: 2
            guid: 17999524418015963258
            path: '/dev/gptid/1e898758-9488-11e3-a86e-d43d7ed5b587'
            whole_disk: 1
            DTL: 134
            create_txg: 4
    features_for_read:
--------------------------------------------
LABEL 1
--------------------------------------------
    version: 5000
    name: 'zh_vol'
    state: 0
    txg: 14106447
    pool_guid: 2918670121059000644
    hostid: 1802987710
    hostname: ''
    top_guid: 14123440993587991088
    guid: 3253299067537287428
    vdev_children: 1
    vdev_tree:
        type: 'raidz'
        id: 0
        guid: 14123440993587991088
        nparity: 1
        metaslab_array: 34
        metaslab_shift: 36
        ashift: 12
        asize: 8995321675776
        is_log: 0
        create_txg: 4
        children[0]:
            type: 'disk'
            id: 0
            guid: 17624020450804741401
            path: '/dev/gptid/6e5cea27-7f52-11e3-9cd8-d43d7ed5b587'
            whole_disk: 1
            DTL: 137
            create_txg: 4
        children[1]:
            type: 'disk'
            id: 1
            guid: 3253299067537287428
            path: '/dev/gptid/2b70d9c0-8e40-11e3-aa1c-d43d7ed5b587'
            whole_disk: 1
            DTL: 133
            create_txg: 4
        children[2]:
            type: 'disk'
            id: 2
            guid: 17999524418015963258
            path: '/dev/gptid/1e898758-9488-11e3-a86e-d43d7ed5b587'
            whole_disk: 1
            DTL: 134
            create_txg: 4
    features_for_read:
--------------------------------------------
LABEL 2
--------------------------------------------
    version: 5000
    name: 'zh_vol'
    state: 0
    txg: 14106447
    pool_guid: 2918670121059000644
    hostid: 1802987710
    hostname: ''
    top_guid: 14123440993587991088
    guid: 3253299067537287428
    vdev_children: 1
    vdev_tree:
        type: 'raidz'
        id: 0
        guid: 14123440993587991088
        nparity: 1
        metaslab_array: 34
        metaslab_shift: 36
        ashift: 12
        asize: 8995321675776
        is_log: 0
        create_txg: 4
        children[0]:
            type: 'disk'
            id: 0
            guid: 17624020450804741401
            path: '/dev/gptid/6e5cea27-7f52-11e3-9cd8-d43d7ed5b587'
            whole_disk: 1
            DTL: 137
            create_txg: 4
        children[1]:
            type: 'disk'
            id: 1
            guid: 3253299067537287428
            path: '/dev/gptid/2b70d9c0-8e40-11e3-aa1c-d43d7ed5b587'
            whole_disk: 1
            DTL: 133
            create_txg: 4
        children[2]:
            type: 'disk'
            id: 2
            guid: 17999524418015963258
            path: '/dev/gptid/1e898758-9488-11e3-a86e-d43d7ed5b587'
            whole_disk: 1
            DTL: 134
            create_txg: 4
    features_for_read:
--------------------------------------------
LABEL 3
--------------------------------------------
    version: 5000
    name: 'zh_vol'
    state: 0
    txg: 14106447
    pool_guid: 2918670121059000644
    hostid: 1802987710
    hostname: ''
    top_guid: 14123440993587991088
    guid: 3253299067537287428
    vdev_children: 1
    vdev_tree:
        type: 'raidz'
        id: 0
        guid: 14123440993587991088
        nparity: 1
        metaslab_array: 34
        metaslab_shift: 36
        ashift: 12
        asize: 8995321675776
        is_log: 0
        create_txg: 4
        children[0]:
            type: 'disk'
            id: 0
            guid: 17624020450804741401
            path: '/dev/gptid/6e5cea27-7f52-11e3-9cd8-d43d7ed5b587'
            whole_disk: 1
            DTL: 137
            create_txg: 4
        children[1]:
            type: 'disk'
            id: 1
            guid: 3253299067537287428
            path: '/dev/gptid/2b70d9c0-8e40-11e3-aa1c-d43d7ed5b587'
            whole_disk: 1
            DTL: 133
            create_txg: 4
        children[2]:
            type: 'disk'
            id: 2
            guid: 17999524418015963258
            path: '/dev/gptid/1e898758-9488-11e3-a86e-d43d7ed5b587'
            whole_disk: 1
            DTL: 134
            create_txg: 4
    features_for_read:


On Sun, May 29, 2016 at 6:37 AM, BlackCat <blackcatzilla@gmail.com> wrote:

> 2016-05-29 5:42 GMT+03:00 Evgeny Sam <esamorokov@gmail.com>:
> > The failed drive is(has always been) 'ada3' - currently showing bad
> bloks.
> > The disk FreeNas sent me an alert that the drive has failed and I
> verified
> > that.
> >
> > [root@juicy] ~# zdb -e
> >
> > SHOWS ONLY HELP INFO
> >
> Ok, could you show output of following commands:
>
> zdb -e zh_vol
> zdb -l /dev/ada1p2
> zdb -l /dev/ada2p2
> zdb -l /dev/ada3p2
>
> --
> BR BC
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABDVK=4RFv3nqyg2DEWQppM%2Bn%2BmL66v5yMKW45r89d3Y=4=W-w>